pub struct StartedCliLogin {
pub approve_url: String,
pub code: String,
pub collect_token: String,
pub expires_at: Timestamp,
}Expand description
A login started: the panel’s page that approves it, the code that page shows, and the token the terminal collects its key with, which only the terminal holds.
Fields§
§approve_url: String§code: StringBCDF-GHJK, which the terminal shows too, so the user sees the page
is their terminal’s.
collect_token: String§expires_at: TimestampTrait Implementations§
Source§impl Clone for StartedCliLogin
impl Clone for StartedCliLogin
Source§impl Debug for StartedCliLogin
impl Debug for StartedCliLogin
Source§impl<'de> Deserialize<'de> for StartedCliLogin
impl<'de> Deserialize<'de> for StartedCliLogin
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 StartedCliLogin
Source§impl PartialEq for StartedCliLogin
impl PartialEq for StartedCliLogin
Source§impl Serialize for StartedCliLogin
impl Serialize for StartedCliLogin
impl StructuralPartialEq for StartedCliLogin
Auto Trait Implementations§
impl Forget for StartedCliLogin
impl Freeze for StartedCliLogin
impl RefUnwindSafe for StartedCliLogin
impl Send for StartedCliLogin
impl Sync for StartedCliLogin
impl Unpin for StartedCliLogin
impl UnsafeUnpin for StartedCliLogin
impl UnwindSafe for StartedCliLogin
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