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