pub struct ServiceSyncDeviceInfo {
pub device_id: String,
pub device_name: String,
pub device_type: String,
pub revoked: bool,
}Expand description
Wire DTO for one sync device row.
Fields§
§device_id: String§device_name: String§device_type: String§revoked: boolTrait Implementations§
Source§impl Clone for ServiceSyncDeviceInfo
impl Clone for ServiceSyncDeviceInfo
Source§fn clone(&self) -> ServiceSyncDeviceInfo
fn clone(&self) -> ServiceSyncDeviceInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServiceSyncDeviceInfo
impl Debug for ServiceSyncDeviceInfo
Source§impl<'de> Deserialize<'de> for ServiceSyncDeviceInfo
impl<'de> Deserialize<'de> for ServiceSyncDeviceInfo
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 ServiceSyncDeviceInfo
impl RefUnwindSafe for ServiceSyncDeviceInfo
impl Send for ServiceSyncDeviceInfo
impl Sync for ServiceSyncDeviceInfo
impl Unpin for ServiceSyncDeviceInfo
impl UnsafeUnpin for ServiceSyncDeviceInfo
impl UnwindSafe for ServiceSyncDeviceInfo
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