Struct mozdevice::DeviceInfo
source · pub struct DeviceInfo {
pub serial: DeviceSerial,
pub info: BTreeMap<String, String>,
}
Expand description
Detailed information about an ADB device.
Fields§
§serial: DeviceSerial
§info: BTreeMap<String, String>
Trait Implementations§
source§impl Debug for DeviceInfo
impl Debug for DeviceInfo
source§impl Ord for DeviceInfo
impl Ord for DeviceInfo
source§fn cmp(&self, other: &DeviceInfo) -> Ordering
fn cmp(&self, other: &DeviceInfo) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for DeviceInfo
impl PartialEq for DeviceInfo
source§fn eq(&self, other: &DeviceInfo) -> bool
fn eq(&self, other: &DeviceInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DeviceInfo
impl PartialOrd for DeviceInfo
source§fn partial_cmp(&self, other: &DeviceInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceInfo) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for DeviceInfo
impl StructuralEq for DeviceInfo
impl StructuralPartialEq for DeviceInfo
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