#[repr(u8)]pub enum VerificationLevel {
None = 0,
Low = 1,
Medium = 2,
High = 3,
Insane = 4,
}Expand description
A guild’s verification levels.
Variants§
None = 0
The guild is unrestricted.
Low = 1
The guild requires a verified email on the user’s account.
Medium = 2
The guild requires that the user be registered on Discord for longer than 5 minutes.
High = 3
The guild requires that the user be on the guild for longer than 10 minutes.
Insane = 4
The guild requires that the user have a verified phone number on their account.
Trait Implementations§
Source§impl Clone for VerificationLevel
impl Clone for VerificationLevel
Source§fn clone(&self) -> VerificationLevel
fn clone(&self) -> VerificationLevel
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 Debug for VerificationLevel
impl Debug for VerificationLevel
Source§impl<'de> Deserialize<'de> for VerificationLevel
impl<'de> Deserialize<'de> for VerificationLevel
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 VerificationLevel
impl RefUnwindSafe for VerificationLevel
impl Send for VerificationLevel
impl Sync for VerificationLevel
impl Unpin for VerificationLevel
impl UnwindSafe for VerificationLevel
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