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