pub struct DeviceInfo {
pub product: String,
pub model: String,
pub transport_id: u32,
}
Expand description
Helper struct to help parse the result from ADBDevices
Fields§
§product: String
§model: String
§transport_id: u32
Trait Implementations§
Source§impl Default for DeviceInfo
impl Default for DeviceInfo
Source§fn default() -> DeviceInfo
fn default() -> DeviceInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DeviceInfo
impl RefUnwindSafe for DeviceInfo
impl Send for DeviceInfo
impl Sync for DeviceInfo
impl Unpin for DeviceInfo
impl UnwindSafe for DeviceInfo
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