pub struct RequestDeviceInfoParams {
pub device_info: Option<String>,
}Expand description
Parameters associated with the REQUEST_DEVICE_INFO command to get device related information.
This type is not used in any activity, and only used as part of another schema.
Fields§
§device_info: Option<String>Required. Type of device information to be requested.
Trait Implementations§
Source§impl Clone for RequestDeviceInfoParams
impl Clone for RequestDeviceInfoParams
Source§fn clone(&self) -> RequestDeviceInfoParams
fn clone(&self) -> RequestDeviceInfoParams
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 RequestDeviceInfoParams
impl Debug for RequestDeviceInfoParams
Source§impl Default for RequestDeviceInfoParams
impl Default for RequestDeviceInfoParams
Source§fn default() -> RequestDeviceInfoParams
fn default() -> RequestDeviceInfoParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RequestDeviceInfoParams
impl<'de> Deserialize<'de> for RequestDeviceInfoParams
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
Source§impl Serialize for RequestDeviceInfoParams
impl Serialize for RequestDeviceInfoParams
impl Part for RequestDeviceInfoParams
Auto Trait Implementations§
impl Freeze for RequestDeviceInfoParams
impl RefUnwindSafe for RequestDeviceInfoParams
impl Send for RequestDeviceInfoParams
impl Sync for RequestDeviceInfoParams
impl Unpin for RequestDeviceInfoParams
impl UnwindSafe for RequestDeviceInfoParams
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