pub struct HandshakeResponse {
pub accepted: bool,
pub timestamp: u64,
}Expand description
Response sent after emoji verification by the invitee
This message indicates whether the user accepted or rejected the invitation after verifying the emoji sequence derived from the shared PQXDH secret.
Fields§
§accepted: bool§timestamp: u64Trait Implementations§
Source§impl Clone for HandshakeResponse
impl Clone for HandshakeResponse
Source§fn clone(&self) -> HandshakeResponse
fn clone(&self) -> HandshakeResponse
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 HandshakeResponse
impl Debug for HandshakeResponse
Source§impl<'de> Deserialize<'de> for HandshakeResponse
impl<'de> Deserialize<'de> for HandshakeResponse
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 HandshakeResponse
impl PartialEq for HandshakeResponse
Source§impl Serialize for HandshakeResponse
impl Serialize for HandshakeResponse
impl StructuralPartialEq for HandshakeResponse
Auto Trait Implementations§
impl Freeze for HandshakeResponse
impl RefUnwindSafe for HandshakeResponse
impl Send for HandshakeResponse
impl Sync for HandshakeResponse
impl Unpin for HandshakeResponse
impl UnwindSafe for HandshakeResponse
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