Enum dasi::model::VerificationLevel [] [src]

pub enum VerificationLevel {
    None,
    Low,
    Medium,
    High,
}

A condition that new users must satisfy before posting in text channels

Variants

None

No verification is needed

Low

Must have a verified email on their Discord account

Medium

Must also be registered on Discord for longer than 5 minutes

High

Must also be a member of this server for longer than 10 minutes

Methods

impl VerificationLevel

fn from_num(level: u64) -> Option<VerificationLevel>

Trait Implementations

Derived Implementations

impl Debug for VerificationLevel

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl PartialEq for VerificationLevel

fn eq(&self, __arg_0: &VerificationLevel) -> bool

1.0.0fn ne(&self, other: &Rhs) -> bool

impl Eq for VerificationLevel

impl Hash for VerificationLevel

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

1.3.0fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for VerificationLevel

fn clone(&self) -> VerificationLevel

1.0.0fn clone_from(&mut self, source: &Self)

impl Copy for VerificationLevel