Struct adb_utils::general::devices::DeviceInfo
source · 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 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