pub struct SmbiosType2 { /* private fields */ }Expand description
Specify SMBIOS type 2 fields
Implementations§
Source§impl SmbiosType2
impl SmbiosType2
Sourcepub fn builder() -> SmbiosType2Builder
pub fn builder() -> SmbiosType2Builder
Create an instance of SmbiosType2 using the builder syntax
Trait Implementations§
Source§impl Clone for SmbiosType2
impl Clone for SmbiosType2
Source§fn clone(&self) -> SmbiosType2
fn clone(&self) -> SmbiosType2
Returns a duplicate 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 SmbiosType2
impl Debug for SmbiosType2
Source§impl Default for SmbiosType2
impl Default for SmbiosType2
Source§fn default() -> SmbiosType2
fn default() -> SmbiosType2
Returns the “default value” for a type. Read more
Source§impl Hash for SmbiosType2
impl Hash for SmbiosType2
Source§impl Ord for SmbiosType2
impl Ord for SmbiosType2
Source§fn cmp(&self, other: &SmbiosType2) -> Ordering
fn cmp(&self, other: &SmbiosType2) -> 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 SmbiosType2
impl PartialEq for SmbiosType2
Source§impl PartialOrd for SmbiosType2
impl PartialOrd for SmbiosType2
Source§impl ToCommand for SmbiosType2
impl ToCommand for SmbiosType2
fn to_command(&self) -> Vec<String>
fn to_single_command(&self) -> String
impl Eq for SmbiosType2
impl StructuralPartialEq for SmbiosType2
Auto Trait Implementations§
impl Freeze for SmbiosType2
impl RefUnwindSafe for SmbiosType2
impl Send for SmbiosType2
impl Sync for SmbiosType2
impl Unpin for SmbiosType2
impl UnwindSafe for SmbiosType2
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