pub struct PushRegistrationRequestModel {
pub device_id: String,
pub push_token: String,
pub user_id: String,
pub type: DeviceType,
pub identifier: String,
}
Fields§
§device_id: String
§push_token: String
§user_id: String
§type: DeviceType
§identifier: String
Implementations§
Source§impl PushRegistrationRequestModel
impl PushRegistrationRequestModel
pub fn new( device_id: String, push_token: String, user_id: String, type: DeviceType, identifier: String, ) -> PushRegistrationRequestModel
Trait Implementations§
Source§impl Clone for PushRegistrationRequestModel
impl Clone for PushRegistrationRequestModel
Source§fn clone(&self) -> PushRegistrationRequestModel
fn clone(&self) -> PushRegistrationRequestModel
Returns a copy 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 moreSource§impl Debug for PushRegistrationRequestModel
impl Debug for PushRegistrationRequestModel
Source§impl Default for PushRegistrationRequestModel
impl Default for PushRegistrationRequestModel
Source§fn default() -> PushRegistrationRequestModel
fn default() -> PushRegistrationRequestModel
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PushRegistrationRequestModel
impl<'de> Deserialize<'de> for PushRegistrationRequestModel
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
Source§impl PartialEq for PushRegistrationRequestModel
impl PartialEq for PushRegistrationRequestModel
Source§fn eq(&self, other: &PushRegistrationRequestModel) -> bool
fn eq(&self, other: &PushRegistrationRequestModel) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PushRegistrationRequestModel
Auto Trait Implementations§
impl Freeze for PushRegistrationRequestModel
impl RefUnwindSafe for PushRegistrationRequestModel
impl Send for PushRegistrationRequestModel
impl Sync for PushRegistrationRequestModel
impl Unpin for PushRegistrationRequestModel
impl UnwindSafe for PushRegistrationRequestModel
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