pub struct HardwareIdentifiers {
pub product: String,
pub vendor: String,
pub revision: String,
}Available on crate feature
mmc only.Expand description
Basic hardware identifiers
Fields§
§product: String§vendor: String§revision: StringTrait Implementations§
Source§impl Clone for HardwareIdentifiers
impl Clone for HardwareIdentifiers
Source§fn clone(&self) -> HardwareIdentifiers
fn clone(&self) -> HardwareIdentifiers
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HardwareIdentifiers
impl Debug for HardwareIdentifiers
Source§impl Default for HardwareIdentifiers
impl Default for HardwareIdentifiers
Source§fn default() -> HardwareIdentifiers
fn default() -> HardwareIdentifiers
Returns the “default value” for a type. Read more
impl Eq for HardwareIdentifiers
Source§impl Hash for HardwareIdentifiers
impl Hash for HardwareIdentifiers
Source§impl Ord for HardwareIdentifiers
impl Ord for HardwareIdentifiers
Source§fn cmp(&self, other: &HardwareIdentifiers) -> Ordering
fn cmp(&self, other: &HardwareIdentifiers) -> Ordering
1.21.0 (const: unstable) · 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 HardwareIdentifiers
impl PartialEq for HardwareIdentifiers
Source§impl PartialOrd for HardwareIdentifiers
impl PartialOrd for HardwareIdentifiers
impl StructuralPartialEq for HardwareIdentifiers
Auto Trait Implementations§
impl Freeze for HardwareIdentifiers
impl RefUnwindSafe for HardwareIdentifiers
impl Send for HardwareIdentifiers
impl Sync for HardwareIdentifiers
impl Unpin for HardwareIdentifiers
impl UnsafeUnpin for HardwareIdentifiers
impl UnwindSafe for HardwareIdentifiers
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