pub struct SignedPreKey {
pub key_id: u32,
pub key_pair: KeyPair,
pub signature: Vec<u8>,
}Fields§
§key_id: u32§key_pair: KeyPair§signature: Vec<u8>Trait Implementations§
Source§impl Clone for SignedPreKey
impl Clone for SignedPreKey
Source§fn clone(&self) -> SignedPreKey
fn clone(&self) -> SignedPreKey
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 moreAuto Trait Implementations§
impl Freeze for SignedPreKey
impl RefUnwindSafe for SignedPreKey
impl Send for SignedPreKey
impl Sync for SignedPreKey
impl Unpin for SignedPreKey
impl UnwindSafe for SignedPreKey
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