pub struct LoginAttempt {Show 15 fields
pub schema: u32,
pub device: DeviceProfile,
pub computer_name: String,
pub qr_png: Vec<u8>,
pub width: u32,
pub height: u32,
pub created_at: u32,
pub expires_at: u32,
pub identifier: Vec<u8>,
pub notify_key: Vec<u8>,
pub cookie: Vec<u8>,
pub key_version: u16,
pub long_host: String,
pub short_host: String,
pub status: LoginStatus,
/* private fields */
}Fields§
§schema: u32§device: DeviceProfile§computer_name: String§qr_png: Vec<u8>§width: u32§height: u32§created_at: u32§expires_at: u32§identifier: Vec<u8>§notify_key: Vec<u8>§key_version: u16§long_host: String§short_host: String§status: LoginStatusImplementations§
Trait Implementations§
Source§impl Clone for LoginAttempt
impl Clone for LoginAttempt
Source§impl Debug for LoginAttempt
impl Debug for LoginAttempt
Source§impl<'de> Deserialize<'de> for LoginAttempt
impl<'de> Deserialize<'de> for LoginAttempt
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
Source§impl Drop for LoginAttempt
impl Drop for LoginAttempt
Auto Trait Implementations§
impl !RefUnwindSafe for LoginAttempt
impl !UnwindSafe for LoginAttempt
impl Freeze for LoginAttempt
impl Send for LoginAttempt
impl Sync for LoginAttempt
impl Unpin for LoginAttempt
impl UnsafeUnpin for LoginAttempt
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