pub struct DeviceTokenHuaweiPush {
pub token: String,
pub encrypt: bool,
}
Expand description
A token for HUAWEI Push Service
Fields§
§token: String
Device registration token; may be empty to deregister a device
encrypt: bool
True, if push notifications must be additionally encrypted
Trait Implementations§
Source§impl Clone for DeviceTokenHuaweiPush
impl Clone for DeviceTokenHuaweiPush
Source§fn clone(&self) -> DeviceTokenHuaweiPush
fn clone(&self) -> DeviceTokenHuaweiPush
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 moreSource§impl Debug for DeviceTokenHuaweiPush
impl Debug for DeviceTokenHuaweiPush
Source§impl Default for DeviceTokenHuaweiPush
impl Default for DeviceTokenHuaweiPush
Source§fn default() -> DeviceTokenHuaweiPush
fn default() -> DeviceTokenHuaweiPush
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DeviceTokenHuaweiPush
impl<'de> Deserialize<'de> for DeviceTokenHuaweiPush
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 DeviceTokenHuaweiPush
impl PartialEq for DeviceTokenHuaweiPush
Source§impl Serialize for DeviceTokenHuaweiPush
impl Serialize for DeviceTokenHuaweiPush
impl StructuralPartialEq for DeviceTokenHuaweiPush
Auto Trait Implementations§
impl Freeze for DeviceTokenHuaweiPush
impl RefUnwindSafe for DeviceTokenHuaweiPush
impl Send for DeviceTokenHuaweiPush
impl Sync for DeviceTokenHuaweiPush
impl Unpin for DeviceTokenHuaweiPush
impl UnwindSafe for DeviceTokenHuaweiPush
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