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