Struct linux_info::bios::SystemInfo
source · [−]pub struct SystemInfo<'a> {
pub manufacturer: &'a str,
pub product_name: &'a str,
pub version: &'a str,
pub serial_number: &'a str,
pub uuid: Uuid,
pub sku_number: &'a str,
pub family: &'a str,
}Fields
manufacturer: &'a strproduct_name: &'a strversion: &'a strserial_number: &'a struuid: Uuidis exactly 16bytes long
sku_number: &'a strfamily: &'a strTrait Implementations
sourceimpl<'a> Debug for SystemInfo<'a>
impl<'a> Debug for SystemInfo<'a>
sourceimpl<'a> Hash for SystemInfo<'a>
impl<'a> Hash for SystemInfo<'a>
sourceimpl<'a> PartialEq<SystemInfo<'a>> for SystemInfo<'a>
impl<'a> PartialEq<SystemInfo<'a>> for SystemInfo<'a>
sourcefn eq(&self, other: &SystemInfo<'a>) -> bool
fn eq(&self, other: &SystemInfo<'a>) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &SystemInfo<'a>) -> bool
fn ne(&self, other: &SystemInfo<'a>) -> bool
This method tests for !=.
impl<'a> Eq for SystemInfo<'a>
impl<'a> StructuralEq for SystemInfo<'a>
impl<'a> StructuralPartialEq for SystemInfo<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for SystemInfo<'a>
impl<'a> Send for SystemInfo<'a>
impl<'a> Sync for SystemInfo<'a>
impl<'a> Unpin for SystemInfo<'a>
impl<'a> UnwindSafe for SystemInfo<'a>
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