pub struct OsInfo {
pub name: String,
pub version: String,
pub arch: String,
}Expand description
Operating system information
Fields§
§name: String§version: String§arch: StringTrait Implementations§
impl Eq for OsInfo
impl StructuralPartialEq for OsInfo
Auto Trait Implementations§
impl Freeze for OsInfo
impl RefUnwindSafe for OsInfo
impl Send for OsInfo
impl Sync for OsInfo
impl Unpin for OsInfo
impl UnwindSafe for OsInfo
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