pub struct DeviceAttachedInfo {
pub connection_type: DeviceConnectionType,
pub device_id: DeviceId,
pub location_id: u64,
pub product_type: ProductType,
pub identifier: String,
}Expand description
Info about an attached device
Fields§
§connection_type: DeviceConnectionTypeType of connection device is using (USB or otherwise)
device_id: DeviceIdID of device
location_id: u64Unknown purpose/value
product_type: ProductTypeProduct type of device, ipad, ipod, iphone, mysterious other device
identifier: StringDevice’s identifier/serial
Trait Implementations§
Source§impl Debug for DeviceAttachedInfo
impl Debug for DeviceAttachedInfo
Source§impl TryFrom<&Value> for DeviceAttachedInfo
impl TryFrom<&Value> for DeviceAttachedInfo
Source§type Error = ProtocolError
type Error = ProtocolError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for DeviceAttachedInfo
impl RefUnwindSafe for DeviceAttachedInfo
impl Send for DeviceAttachedInfo
impl Sync for DeviceAttachedInfo
impl Unpin for DeviceAttachedInfo
impl UnwindSafe for DeviceAttachedInfo
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