pub struct DevicePushStatusResponse {
pub devices: Vec<DevicePushInfo>,
pub user_push_enabled: bool,
}Expand description
设备推送状态查询响应
RPC路由: device/push/status
Fields§
§devices: Vec<DevicePushInfo>设备列表
user_push_enabled: bool用户级别:所有设备都需要推送
Trait Implementations§
Source§impl Clone for DevicePushStatusResponse
impl Clone for DevicePushStatusResponse
Source§fn clone(&self) -> DevicePushStatusResponse
fn clone(&self) -> DevicePushStatusResponse
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 DevicePushStatusResponse
impl Debug for DevicePushStatusResponse
Source§impl<'de> Deserialize<'de> for DevicePushStatusResponse
impl<'de> Deserialize<'de> for DevicePushStatusResponse
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 DevicePushStatusResponse
impl RefUnwindSafe for DevicePushStatusResponse
impl Send for DevicePushStatusResponse
impl Sync for DevicePushStatusResponse
impl Unpin for DevicePushStatusResponse
impl UnsafeUnpin for DevicePushStatusResponse
impl UnwindSafe for DevicePushStatusResponse
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