pub struct SystemInfo {
pub product_name: String,
pub manufacturer: String,
}Fields§
§product_name: String§manufacturer: StringImplementations§
Source§impl SystemInfo
impl SystemInfo
pub fn try_from_smbios( system_data: &SMBiosSystemInformation<'_>, ) -> Result<Self>
Auto Trait Implementations§
impl Freeze for SystemInfo
impl RefUnwindSafe for SystemInfo
impl Send for SystemInfo
impl Sync for SystemInfo
impl Unpin for SystemInfo
impl UnsafeUnpin for SystemInfo
impl UnwindSafe for SystemInfo
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