#[repr(u16)]pub enum LicenseType {
Unused = 0,
Unrestricted = 65_535,
ConsoleProfileLicense = 9,
WindowsProfileLicense = 3,
ConsoleLicense = 61_440,
MediaFlags = 57_344,
KeyVaultPrivileges = 53_248,
HyperVisorFlags = 49_152,
UserPrivileges = 45_056,
}Variants§
Unused = 0
Unrestricted = 65_535
ConsoleProfileLicense = 9
WindowsProfileLicense = 3
ConsoleLicense = 61_440
MediaFlags = 57_344
KeyVaultPrivileges = 53_248
HyperVisorFlags = 49_152
UserPrivileges = 45_056
Trait Implementations§
Source§impl Clone for LicenseType
impl Clone for LicenseType
Source§fn clone(&self) -> LicenseType
fn clone(&self) -> LicenseType
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 LicenseType
impl Debug for LicenseType
Source§impl Default for LicenseType
impl Default for LicenseType
Source§fn default() -> LicenseType
fn default() -> LicenseType
Returns the “default value” for a type. Read more
Source§impl Serialize for LicenseType
impl Serialize for LicenseType
Source§impl TryFrom<u16> for LicenseType
impl TryFrom<u16> for LicenseType
Source§type Error = TryFromPrimitiveError<LicenseType>
type Error = TryFromPrimitiveError<LicenseType>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for LicenseType
impl TryFromPrimitive for LicenseType
impl Copy for LicenseType
Auto Trait Implementations§
impl Freeze for LicenseType
impl RefUnwindSafe for LicenseType
impl Send for LicenseType
impl Sync for LicenseType
impl Unpin for LicenseType
impl UnsafeUnpin for LicenseType
impl UnwindSafe for LicenseType
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