pub struct DeviceLong {
pub identifier: String,
pub state: DeviceState,
pub usb: String,
pub product: String,
pub model: String,
pub device: String,
pub transport_id: u32,
}
Expand description
Represents a new device with more informations.
Fields§
§identifier: String
Unique device identifier.
state: DeviceState
Connection state of the device.
usb: String
Usb port used by the device.
product: String
Product code.
model: String
Device model.
device: String
Device code.
transport_id: u32
Transport identifier.
Trait Implementations§
Source§impl Debug for DeviceLong
impl Debug for DeviceLong
Source§impl Display for DeviceLong
impl Display for DeviceLong
Auto Trait Implementations§
impl Freeze for DeviceLong
impl RefUnwindSafe for DeviceLong
impl Send for DeviceLong
impl Sync for DeviceLong
impl Unpin for DeviceLong
impl UnwindSafe for DeviceLong
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