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