pub struct DevicePushUpdateResponse {
pub device_id: String,
pub apns_armed: bool,
pub user_push_enabled: bool,
}Expand description
设备推送状态更新响应
RPC路由: device/push/update
Fields§
§device_id: String设备ID
apns_armed: bool推送状态
user_push_enabled: bool用户级别:所有设备都需要推送
Trait Implementations§
Source§impl Clone for DevicePushUpdateResponse
impl Clone for DevicePushUpdateResponse
Source§fn clone(&self) -> DevicePushUpdateResponse
fn clone(&self) -> DevicePushUpdateResponse
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 DevicePushUpdateResponse
impl Debug for DevicePushUpdateResponse
Source§impl<'de> Deserialize<'de> for DevicePushUpdateResponse
impl<'de> Deserialize<'de> for DevicePushUpdateResponse
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 DevicePushUpdateResponse
impl RefUnwindSafe for DevicePushUpdateResponse
impl Send for DevicePushUpdateResponse
impl Sync for DevicePushUpdateResponse
impl Unpin for DevicePushUpdateResponse
impl UnsafeUnpin for DevicePushUpdateResponse
impl UnwindSafe for DevicePushUpdateResponse
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