pub struct RemoteControlClient {
pub app_version: Option<String>,
pub client_id: String,
pub device_model: Option<String>,
pub device_type: Option<String>,
pub display_name: Option<String>,
pub last_seen_at: Option<i64>,
pub os_version: Option<String>,
pub platform: Option<String>,
}Expand description
RemoteControlClient
JSON schema
{
"type": "object",
"required": [
"clientId"
],
"properties": {
"appVersion": {
"type": [
"string",
"null"
]
},
"clientId": {
"type": "string"
},
"deviceModel": {
"type": [
"string",
"null"
]
},
"deviceType": {
"type": [
"string",
"null"
]
},
"displayName": {
"type": [
"string",
"null"
]
},
"lastSeenAt": {
"type": [
"integer",
"null"
],
"format": "int64"
},
"osVersion": {
"type": [
"string",
"null"
]
},
"platform": {
"type": [
"string",
"null"
]
}
}
}Fields§
§app_version: Option<String>§client_id: String§device_model: Option<String>§device_type: Option<String>§display_name: Option<String>§last_seen_at: Option<i64>§os_version: Option<String>§platform: Option<String>Trait Implementations§
Source§impl Clone for RemoteControlClient
impl Clone for RemoteControlClient
Source§fn clone(&self) -> RemoteControlClient
fn clone(&self) -> RemoteControlClient
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 RemoteControlClient
impl Debug for RemoteControlClient
Source§impl<'de> Deserialize<'de> for RemoteControlClient
impl<'de> Deserialize<'de> for RemoteControlClient
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 RemoteControlClient
impl RefUnwindSafe for RemoteControlClient
impl Send for RemoteControlClient
impl Sync for RemoteControlClient
impl Unpin for RemoteControlClient
impl UnsafeUnpin for RemoteControlClient
impl UnwindSafe for RemoteControlClient
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