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