pub struct UnlockChallenge {
pub challenge_code: String,
pub fingerprint_hash: String,
pub fingerprint: HardwareFingerprint,
pub timestamp: DateTime<Utc>,
pub nonce: String,
pub unlock_type: UnlockType,
}Expand description
Generated unlock challenge
Fields§
§challenge_code: StringThe challenge code to communicate (formatted: XXX-XXX-XXX-XXX)
fingerprint_hash: StringHash of the machine fingerprint (for verification)
fingerprint: HardwareFingerprintFull fingerprint data (for server-side storage)
timestamp: DateTime<Utc>Timestamp when challenge was generated
nonce: StringRandom nonce for uniqueness
unlock_type: UnlockTypeType of unlock requested
Trait Implementations§
Source§impl Clone for UnlockChallenge
impl Clone for UnlockChallenge
Source§fn clone(&self) -> UnlockChallenge
fn clone(&self) -> UnlockChallenge
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UnlockChallenge
impl Debug for UnlockChallenge
Source§impl<'de> Deserialize<'de> for UnlockChallenge
impl<'de> Deserialize<'de> for UnlockChallenge
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
Auto Trait Implementations§
impl Freeze for UnlockChallenge
impl RefUnwindSafe for UnlockChallenge
impl Send for UnlockChallenge
impl Sync for UnlockChallenge
impl Unpin for UnlockChallenge
impl UnsafeUnpin for UnlockChallenge
impl UnwindSafe for UnlockChallenge
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