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
sourceimpl Debug for DeviceInfo
impl Debug for DeviceInfo
sourceimpl Ord for DeviceInfo
impl Ord for DeviceInfo
sourceimpl PartialEq<DeviceInfo> for DeviceInfo
impl PartialEq<DeviceInfo> for DeviceInfo
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &DeviceInfo) -> bool
fn ne(&self, other: &DeviceInfo) -> bool
This method tests for !=
.
sourceimpl PartialOrd<DeviceInfo> for DeviceInfo
impl PartialOrd<DeviceInfo> for DeviceInfo
sourcefn partial_cmp(&self, other: &DeviceInfo) -> Option<Ordering>
fn partial_cmp(&self, other: &DeviceInfo) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
1.0.0 · sourcefn 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 more
impl 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more