pub struct NewDeviceRegistration {
pub phone_number: PhoneNumber,
pub device_id: DeviceId,
pub registration_id: u32,
pub pni_registration_id: u32,
pub service_ids: ServiceIds,
pub aci_private_key: PrivateKey,
pub aci_public_key: IdentityKey,
pub pni_private_key: PrivateKey,
pub pni_public_key: IdentityKey,
pub profile_key: ProfileKey,
}
Fields§
§phone_number: PhoneNumber
§device_id: DeviceId
§registration_id: u32
§pni_registration_id: u32
§service_ids: ServiceIds
§aci_private_key: PrivateKey
§aci_public_key: IdentityKey
§pni_private_key: PrivateKey
§pni_public_key: IdentityKey
§profile_key: ProfileKey
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NewDeviceRegistration
impl RefUnwindSafe for NewDeviceRegistration
impl Send for NewDeviceRegistration
impl Sync for NewDeviceRegistration
impl Unpin for NewDeviceRegistration
impl UnwindSafe for NewDeviceRegistration
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more