pub struct DevicePushInfo {
pub device_id: String,
pub apns_armed: bool,
pub connected: bool,
pub platform: String,
pub vendor: String,
}Expand description
设备推送信息
Fields§
§device_id: String设备ID
apns_armed: bool是否需要推送
connected: bool是否已连接
platform: String平台
vendor: String推送厂商
Trait Implementations§
Source§impl Clone for DevicePushInfo
impl Clone for DevicePushInfo
Source§fn clone(&self) -> DevicePushInfo
fn clone(&self) -> DevicePushInfo
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 DevicePushInfo
impl Debug for DevicePushInfo
Source§impl<'de> Deserialize<'de> for DevicePushInfo
impl<'de> Deserialize<'de> for DevicePushInfo
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
Auto Trait Implementations§
impl Freeze for DevicePushInfo
impl RefUnwindSafe for DevicePushInfo
impl Send for DevicePushInfo
impl Sync for DevicePushInfo
impl Unpin for DevicePushInfo
impl UnsafeUnpin for DevicePushInfo
impl UnwindSafe for DevicePushInfo
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