Struct forensic_adb::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 Clone for DeviceInfo
impl Clone for DeviceInfo
source§fn clone(&self) -> DeviceInfo
fn clone(&self) -> DeviceInfo
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§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<DeviceInfo> for DeviceInfo
impl PartialEq<DeviceInfo> 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<DeviceInfo> for DeviceInfo
impl PartialOrd<DeviceInfo> 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 more