pub struct Device {
pub registration_id: u32,
pub identity_key: Vec<u8>,
pub signed_pre_key: SignedPreKeyBundle,
pub pre_key: Option<PreKeyBundle>,
}Fields§
§registration_id: u32§identity_key: Vec<u8>§signed_pre_key: SignedPreKeyBundle§pre_key: Option<PreKeyBundle>Auto Trait Implementations§
impl Freeze for Device
impl RefUnwindSafe for Device
impl Send for Device
impl Sync for Device
impl Unpin for Device
impl UnwindSafe for Device
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