pub struct OSVersion {
pub name: String,
pub version: Version,
pub distribution: String,
}
Expand description
Information about the current operating system
Fields§
§name: String
Full name of the operating system
version: Version
OS version info
distribution: String
Distribution name
Auto Trait Implementations§
impl Freeze for OSVersion
impl RefUnwindSafe for OSVersion
impl Send for OSVersion
impl Sync for OSVersion
impl Unpin for OSVersion
impl UnwindSafe for OSVersion
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