pub struct DeviceId {
pub build_brand: Option<String>,
pub build_device: Option<String>,
}Expand description
Identifier of a device.
This type is not used in any activity, and only used as part of another schema.
Fields§
§build_brand: Option<String>Value of Build.BRAND.
build_device: Option<String>Value of Build.DEVICE.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DeviceId
impl<'de> Deserialize<'de> for DeviceId
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
impl Part for DeviceId
Auto Trait Implementations§
impl Freeze for DeviceId
impl RefUnwindSafe for DeviceId
impl Send for DeviceId
impl Sync for DeviceId
impl Unpin for DeviceId
impl UnwindSafe for DeviceId
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