#[non_exhaustive]#[repr(i32)]pub enum _SYSTEM_ACTIVITY_MODERATION_STATE {
SystemActivityModerationStateSystemManaged = 0,
SystemActivityModerationStateUserManagedAllowThrottling = 1,
SystemActivityModerationStateUserManagedDisableThrottling = 2,
MaxSystemActivityModerationState = 3,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
SystemActivityModerationStateSystemManaged = 0
SystemActivityModerationStateUserManagedAllowThrottling = 1
SystemActivityModerationStateUserManagedDisableThrottling = 2
MaxSystemActivityModerationState = 3
Trait Implementations§
Source§impl Clone for _SYSTEM_ACTIVITY_MODERATION_STATE
impl Clone for _SYSTEM_ACTIVITY_MODERATION_STATE
Source§fn clone(&self) -> _SYSTEM_ACTIVITY_MODERATION_STATE
fn clone(&self) -> _SYSTEM_ACTIVITY_MODERATION_STATE
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for _SYSTEM_ACTIVITY_MODERATION_STATE
impl PartialEq for _SYSTEM_ACTIVITY_MODERATION_STATE
Source§fn eq(&self, other: &_SYSTEM_ACTIVITY_MODERATION_STATE) -> bool
fn eq(&self, other: &_SYSTEM_ACTIVITY_MODERATION_STATE) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for _SYSTEM_ACTIVITY_MODERATION_STATE
impl Eq for _SYSTEM_ACTIVITY_MODERATION_STATE
impl StructuralPartialEq for _SYSTEM_ACTIVITY_MODERATION_STATE
Auto Trait Implementations§
impl Freeze for _SYSTEM_ACTIVITY_MODERATION_STATE
impl RefUnwindSafe for _SYSTEM_ACTIVITY_MODERATION_STATE
impl Send for _SYSTEM_ACTIVITY_MODERATION_STATE
impl Sync for _SYSTEM_ACTIVITY_MODERATION_STATE
impl Unpin for _SYSTEM_ACTIVITY_MODERATION_STATE
impl UnwindSafe for _SYSTEM_ACTIVITY_MODERATION_STATE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more