pub struct CliLogin {
pub machine: String,
pub code: String,
pub created_at: Timestamp,
pub expires_at: Timestamp,
pub approved: bool,
}Expand description
A login from a terminal, as its page shows it to the user who may approve it.
Fields§
§machine: String§code: String§created_at: Timestamp§expires_at: Timestamp§approved: boolApproved by this user: its terminal has its key, or will on its next ask.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CliLogin
impl<'de> Deserialize<'de> for CliLogin
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 CliLogin
impl StructuralPartialEq for CliLogin
Auto Trait Implementations§
impl Forget for CliLogin
impl Freeze for CliLogin
impl RefUnwindSafe for CliLogin
impl Send for CliLogin
impl Sync for CliLogin
impl Unpin for CliLogin
impl UnsafeUnpin for CliLogin
impl UnwindSafe for CliLogin
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