pub struct DeviceView {
pub id: String,
pub name: String,
pub platform: String,
pub cli_version: Option<String>,
pub online: Option<bool>,
pub last_seen_at: Option<u64>,
pub revoked_at: Option<u64>,
}Fields§
§id: String§name: String§platform: String§cli_version: Option<String>§online: Option<bool>§last_seen_at: Option<u64>§revoked_at: Option<u64>Trait Implementations§
Source§impl Clone for DeviceView
impl Clone for DeviceView
Source§fn clone(&self) -> DeviceView
fn clone(&self) -> DeviceView
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 DeviceView
impl Debug for DeviceView
Source§impl<'de> Deserialize<'de> for DeviceView
impl<'de> Deserialize<'de> for DeviceView
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 DeviceView
impl RefUnwindSafe for DeviceView
impl Send for DeviceView
impl Sync for DeviceView
impl Unpin for DeviceView
impl UnsafeUnpin for DeviceView
impl UnwindSafe for DeviceView
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