pub struct ChallengeResponse {
pub challenge: [u8; 32],
pub expires_at: u64,
}Expand description
Represents the challenge response sent from the server to the client after a successful challenge request.
Fields§
§challenge: [u8; 32]The challenge string sent from the server to the client to be signed by the user
expires_at: u64Expires at timestamp in milliseconds since epoch the time when the challenge will expire and should not be used anymore
Trait Implementations§
Source§impl Clone for ChallengeResponse
impl Clone for ChallengeResponse
Source§fn clone(&self) -> ChallengeResponse
fn clone(&self) -> ChallengeResponse
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 ChallengeResponse
impl Debug for ChallengeResponse
Source§impl<'de> Deserialize<'de> for ChallengeResponse
impl<'de> Deserialize<'de> for ChallengeResponse
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 ChallengeResponse
impl RefUnwindSafe for ChallengeResponse
impl Send for ChallengeResponse
impl Sync for ChallengeResponse
impl Unpin for ChallengeResponse
impl UnwindSafe for ChallengeResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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