pub enum SignIn {
Commands {
status: &'static [&'static str],
login: &'static [&'static str],
logout: &'static [&'static str],
},
Acp {
login: &'static [&'static str],
},
Terminal {
command: &'static str,
},
}Expand description
How a person signs in to an agent’s CLI.
Variants§
Commands
The CLI has commands of its own for each step: the arguments after its program.
Fields
Acp
The CLI signs in through its ACP mode, with these arguments after its program.
Terminal
The CLI signs in only in its own interactive terminal: the person runs this there.
Trait Implementations§
impl Copy for SignIn
impl Eq for SignIn
impl StructuralPartialEq for SignIn
Auto Trait Implementations§
impl Forget for SignIn
impl Freeze for SignIn
impl Move for SignIn
impl RefUnwindSafe for SignIn
impl Send for SignIn
impl Sync for SignIn
impl Unpin for SignIn
impl UnsafeUnpin for SignIn
impl UnwindSafe for SignIn
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.