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§
impl Copy for Assert
impl Eq for Assert
impl StructuralPartialEq for Assert
Auto Trait Implementations§
impl Freeze for Assert
impl RefUnwindSafe for Assert
impl Send for Assert
impl Sync for Assert
impl Unpin for Assert
impl UnwindSafe for Assert
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