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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)