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