pub enum WindowsRelease {
Show 22 variants
Windows7,
Windows8,
Windows81,
Windows10_1507,
Windows10_1511,
Windows10_1607,
Windows10_1703,
Windows10_1709,
Windows10_1803,
Windows10_1809,
Windows10_1903,
Windows10_1909,
Windows10_2004,
Windows10_20H2,
Windows10_21H1,
Windows10_21H2,
Windows10_22H2,
Windows11_21H2,
Windows11_22H2,
Windows11_23H2,
Windows11_24H2,
Unknown,
}Expand description
named Windows releases with known build numbers
Variants§
Windows7
Windows8
Windows81
Windows10_1507
Windows10_1511
Windows10_1607
Windows10_1703
Windows10_1709
Windows10_1803
Windows10_1809
Windows10_1903
Windows10_1909
Windows10_2004
Windows10_20H2
Windows10_21H1
Windows10_21H2
Windows10_22H2
Windows11_21H2
Windows11_22H2
Windows11_23H2
Windows11_24H2
Unknown
Trait Implementations§
Source§impl Clone for WindowsRelease
impl Clone for WindowsRelease
Source§fn clone(&self) -> WindowsRelease
fn clone(&self) -> WindowsRelease
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WindowsRelease
impl Debug for WindowsRelease
Source§impl Display for WindowsRelease
impl Display for WindowsRelease
Source§impl Ord for WindowsRelease
impl Ord for WindowsRelease
Source§fn cmp(&self, other: &WindowsRelease) -> Ordering
fn cmp(&self, other: &WindowsRelease) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for WindowsRelease
impl PartialEq for WindowsRelease
Source§impl PartialOrd for WindowsRelease
impl PartialOrd for WindowsRelease
impl Copy for WindowsRelease
impl Eq for WindowsRelease
impl StructuralPartialEq for WindowsRelease
Auto Trait Implementations§
impl Freeze for WindowsRelease
impl RefUnwindSafe for WindowsRelease
impl Send for WindowsRelease
impl Sync for WindowsRelease
impl Unpin for WindowsRelease
impl UnwindSafe for WindowsRelease
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