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