pub struct LoginProof {
pub challenge: Uuid,
pub nonce: Nonce,
pub campaign: Uuid,
pub server: PublicKey,
}Expand description
What a device signs to answer a challenge. Covers everything that identifies this login, so the signature is useless anywhere else.
Fields§
§challenge: Uuid§nonce: Nonce§campaign: Uuid§server: PublicKeyTrait Implementations§
Source§impl Clone for LoginProof
impl Clone for LoginProof
Source§fn clone(&self) -> LoginProof
fn clone(&self) -> LoginProof
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl ComposeSchema for LoginProof
impl ComposeSchema for LoginProof
Source§impl Debug for LoginProof
impl Debug for LoginProof
Source§impl<'de> Deserialize<'de> for LoginProof
impl<'de> Deserialize<'de> for LoginProof
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 From<&Challenge> for LoginProof
impl From<&Challenge> for LoginProof
Source§impl Serialize for LoginProof
impl Serialize for LoginProof
Auto Trait Implementations§
impl Freeze for LoginProof
impl RefUnwindSafe for LoginProof
impl Send for LoginProof
impl Sync for LoginProof
impl Unpin for LoginProof
impl UnsafeUnpin for LoginProof
impl UnwindSafe for LoginProof
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