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