#[repr(u8)]pub enum Property {
Show 14 variants
Unknown = 0,
MajorVersion = 1,
MinorVersion = 2,
PatchVersion = 3,
DeviceName = 4,
DeviceSerialNumber = 5,
DeviceVersion = 6,
DeviceMcu = 7,
FirmwareName = 8,
FirmwareVersion = 9,
DeviceVendor = 10,
OsType = 11,
OsVersion = 12,
HostSoftwareName = 13,
}
Variants§
Unknown = 0
MajorVersion = 1
MinorVersion = 2
PatchVersion = 3
DeviceName = 4
DeviceSerialNumber = 5
DeviceVersion = 6
DeviceMcu = 7
FirmwareName = 8
FirmwareVersion = 9
DeviceVendor = 10
OsType = 11
OsVersion = 12
HostSoftwareName = 13
Trait Implementations§
Source§impl TryFromPrimitive for Property
impl TryFromPrimitive for Property
impl Copy for Property
impl Eq for Property
impl StructuralPartialEq for Property
Auto Trait Implementations§
impl Freeze for Property
impl RefUnwindSafe for Property
impl Send for Property
impl Sync for Property
impl Unpin for Property
impl UnwindSafe for Property
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