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
Anonymous
Not logged in, aka anonymous
Bot
Logged in to a bot account
User
Logged in (to any account)
None
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
