pub enum LoginKind {
Agent,
Terminal,
}Expand description
The two auth method types of ACP’s stable schema.
Variants§
Agent
The agent signs in through authenticate.
Terminal
The agent signs in on a terminal of its own.
Trait Implementations§
impl Copy for LoginKind
Source§impl<'de> Deserialize<'de> for LoginKind
impl<'de> Deserialize<'de> for LoginKind
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 LoginKind
impl StructuralPartialEq for LoginKind
Auto Trait Implementations§
impl Freeze for LoginKind
impl RefUnwindSafe for LoginKind
impl Send for LoginKind
impl Sync for LoginKind
impl Unpin for LoginKind
impl UnsafeUnpin for LoginKind
impl UnwindSafe for LoginKind
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