pub struct OSInfo {
pub name: String,
pub version: String,
pub architecture: String,
}
Expand description
OS information.
Fields§
§name: String
OS name.
version: String
OS version.
architecture: String
OS architecture.
Trait Implementations§
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