#[repr(u8)]pub enum MfaLevel {
None = 0,
Elevated = 1,
}Expand description
A guild’s MFA levels.
Variants§
None = 0
The guild does not require MFA for elevated actions.
Elevated = 1
The guild requires MFA on a user account which has elevated permissions.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MfaLevel
impl<'de> Deserialize<'de> for MfaLevel
Source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for MfaLevel
impl RefUnwindSafe for MfaLevel
impl Send for MfaLevel
impl Sync for MfaLevel
impl Unpin for MfaLevel
impl UnwindSafe for MfaLevel
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