pub struct ChallengeProof {
pub challenge_id: String,
pub user_id: UserId,
pub signature: Vec<u8>,
pub timestamp: SystemTime,
}
Expand description
Response to identity challenge
Fields§
§challenge_id: String
Challenge ID being responded to
user_id: UserId
User ID providing the proof
signature: Vec<u8>
Signature of challenge data with user private key
timestamp: SystemTime
Response timestamp
Implementations§
Trait Implementations§
Source§impl Clone for ChallengeProof
impl Clone for ChallengeProof
Source§fn clone(&self) -> ChallengeProof
fn clone(&self) -> ChallengeProof
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChallengeProof
impl Debug for ChallengeProof
Source§impl<'de> Deserialize<'de> for ChallengeProof
impl<'de> Deserialize<'de> for ChallengeProof
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 ChallengeProof
impl RefUnwindSafe for ChallengeProof
impl Send for ChallengeProof
impl Sync for ChallengeProof
impl Unpin for ChallengeProof
impl UnwindSafe for ChallengeProof
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