pub struct HardwareIdentifiers {
pub model: String,
pub vendor: String,
pub revision: String,
}Expand description
Hardware identifiers such as model, vendor and revision.
Fields§
§model: 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
impl Eq for HardwareIdentifiers
Source§impl PartialEq for HardwareIdentifiers
impl PartialEq 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