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