pub fn is_invalid_sample_rate_exception(&self) -> bool {
        matches!(
            &self.kind,
            SynthesizeSpeechErrorKind::InvalidSampleRateException(_)
        )
    }
/// Returns `true` if the error kind is `SynthesizeSpeechErrorKind::InvalidSampleRateException`.
Returns `true` if the error kind is `SynthesizeSpeechErrorKind::InvalidSampleRateException`.
Returns ` true ` if the error kind is ` SynthesizeSpeechErrorKind :: InvalidSampleRateException ` .
pub fn is_invalid_sample_rate_exception(&self) -> bool {
        matches!(
            &self.kind,
            SynthesizeSpeechErrorKind::InvalidSampleRateException(_)
        )
    }
pub fn is_invalid_sample_rate_exception ( & self ) -> bool { matches ! ( self kind SynthesizeSpeechErrorKind InvalidSampleRateException ( ) ) }
Returns `true` if the error kind is `SynthesizeSpeechErrorKind::InvalidSampleRateException`.
Returns ` true ` if the error kind is ` SynthesizeSpeechErrorKind :: InvalidSampleRateException ` .
&self
&self