Enum mwapi::Assert [−][src]
pub enum Assert {
Anonymous,
Bot,
User,
None,
}
Expand description
Assert that your account has the specified login state, see API:Assert for more details.
Variants
Not logged in, aka anonymous
Logged in to a bot account
Logged in (to any account)
Do not add any assert
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Assert
impl UnwindSafe for Assert
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more