pub struct OsVersion {
pub major_version: u8,
pub minor_version: u8,
pub build_number: u16,
pub reserved: [u8; 3],
pub ntlm_revision: u8,
}Expand description
A structure representing the version of an operating system as well as the NTLM revision used.
Fields§
§major_version: u8§minor_version: u8§build_number: u16§reserved: [u8; 3]§ntlm_revision: u8Implementations§
Trait Implementations§
Source§impl Ord for OsVersion
impl Ord for OsVersion
Source§impl PartialOrd for OsVersion
impl PartialOrd for OsVersion
impl Copy for OsVersion
impl Eq for OsVersion
impl StructuralPartialEq for OsVersion
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