pub struct GetDeviceTypesResponseDeviceType {
pub value: Option<u64>,
pub description: Option<String>,
}Expand description
Response body for Client::get_device_types (wire method getDeviceTypes).
Fields§
§value: Option<u64>§description: Option<String>Trait Implementations§
Source§impl Clone for GetDeviceTypesResponseDeviceType
impl Clone for GetDeviceTypesResponseDeviceType
Source§fn clone(&self) -> GetDeviceTypesResponseDeviceType
fn clone(&self) -> GetDeviceTypesResponseDeviceType
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 Default for GetDeviceTypesResponseDeviceType
impl Default for GetDeviceTypesResponseDeviceType
Source§fn default() -> GetDeviceTypesResponseDeviceType
fn default() -> GetDeviceTypesResponseDeviceType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetDeviceTypesResponseDeviceType
impl<'de> Deserialize<'de> for GetDeviceTypesResponseDeviceType
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 GetDeviceTypesResponseDeviceType
impl RefUnwindSafe for GetDeviceTypesResponseDeviceType
impl Send for GetDeviceTypesResponseDeviceType
impl Sync for GetDeviceTypesResponseDeviceType
impl Unpin for GetDeviceTypesResponseDeviceType
impl UnsafeUnpin for GetDeviceTypesResponseDeviceType
impl UnwindSafe for GetDeviceTypesResponseDeviceType
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