pub struct OneTimePreKey(/* private fields */);Expand description
Pre-key with key material for X3DH key agreement to be used exactly once.
Implementations§
Trait Implementations§
Source§impl Clone for OneTimePreKey
impl Clone for OneTimePreKey
Source§fn clone(&self) -> OneTimePreKey
fn clone(&self) -> OneTimePreKey
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 Debug for OneTimePreKey
impl Debug for OneTimePreKey
Source§impl<'de> Deserialize<'de> for OneTimePreKey
impl<'de> Deserialize<'de> for OneTimePreKey
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
impl Eq for OneTimePreKey
Source§impl PartialEq for OneTimePreKey
impl PartialEq for OneTimePreKey
Source§fn eq(&self, other: &OneTimePreKey) -> bool
fn eq(&self, other: &OneTimePreKey) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for OneTimePreKey
impl Serialize for OneTimePreKey
impl StructuralPartialEq for OneTimePreKey
Auto Trait Implementations§
impl Freeze for OneTimePreKey
impl RefUnwindSafe for OneTimePreKey
impl Send for OneTimePreKey
impl Sync for OneTimePreKey
impl Unpin for OneTimePreKey
impl UnsafeUnpin for OneTimePreKey
impl UnwindSafe for OneTimePreKey
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