pub struct OSVersion {
pub name: String,
pub version: Version,
pub distribution: String,
}Expand description
Information about the current operating system
Fields§
§name: StringFull name of the operating system
version: VersionOS version info
distribution: StringDistribution 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