pub enum LoginState {
Unasked,
Ready,
Required,
}Expand description
Where an added agent stands on signing in.
Variants§
Unasked
The city has not opened a session with it yet.
Ready
It took a session without asking for a login.
Required
It answered -32000 (E_AUTH_REQUIRED).
Trait Implementations§
Source§impl Clone for LoginState
impl Clone for LoginState
impl Copy for LoginState
Source§impl Debug for LoginState
impl Debug for LoginState
Source§impl<'de> Deserialize<'de> for LoginState
impl<'de> Deserialize<'de> for LoginState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for LoginState
Source§impl PartialEq for LoginState
impl PartialEq for LoginState
Source§impl Serialize for LoginState
impl Serialize for LoginState
impl StructuralPartialEq for LoginState
Auto Trait Implementations§
impl Freeze for LoginState
impl RefUnwindSafe for LoginState
impl Send for LoginState
impl Sync for LoginState
impl Unpin for LoginState
impl UnsafeUnpin for LoginState
impl UnwindSafe for LoginState
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