pub struct VerificationHandshakeRequest {
pub protocol_version: InboxHandshakeProtocolVersion,
pub purpose: HandshakePurpose,
pub timestamp: u64,
}Expand description
Initial handshake request sent in PqxdhInitialMessage payload
This message establishes the PQXDH session and requests verification. It contains NO sensitive group information for security.
Fields§
§protocol_version: InboxHandshakeProtocolVersion§purpose: HandshakePurpose§timestamp: u64Trait Implementations§
Source§impl Clone for VerificationHandshakeRequest
impl Clone for VerificationHandshakeRequest
Source§fn clone(&self) -> VerificationHandshakeRequest
fn clone(&self) -> VerificationHandshakeRequest
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 VerificationHandshakeRequest
impl Debug for VerificationHandshakeRequest
Source§impl<'de> Deserialize<'de> for VerificationHandshakeRequest
impl<'de> Deserialize<'de> for VerificationHandshakeRequest
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 PartialEq for VerificationHandshakeRequest
impl PartialEq for VerificationHandshakeRequest
Source§fn eq(&self, other: &VerificationHandshakeRequest) -> bool
fn eq(&self, other: &VerificationHandshakeRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VerificationHandshakeRequest
Auto Trait Implementations§
impl Freeze for VerificationHandshakeRequest
impl RefUnwindSafe for VerificationHandshakeRequest
impl Send for VerificationHandshakeRequest
impl Sync for VerificationHandshakeRequest
impl Unpin for VerificationHandshakeRequest
impl UnwindSafe for VerificationHandshakeRequest
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§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