pub struct PreKey {
pub key_id: u32,
pub key_pair: KeyPair,
}Fields§
§key_id: u32§key_pair: KeyPairTrait Implementations§
Auto Trait Implementations§
impl Freeze for PreKey
impl RefUnwindSafe for PreKey
impl Send for PreKey
impl Sync for PreKey
impl Unpin for PreKey
impl UnwindSafe for PreKey
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