#[repr(u8)]pub enum DataType {
Show 56 variants
NoData = 0,
Data8 = 8,
Data16 = 9,
Data24 = 10,
Data32 = 11,
Data40 = 12,
Data48 = 13,
Data56 = 14,
Data64 = 15,
Bool = 16,
Map8 = 24,
Map16 = 25,
Map24 = 26,
Map32 = 27,
Map40 = 28,
Map48 = 29,
Map56 = 30,
Map64 = 31,
Uint8 = 32,
Uint16 = 33,
Uint24 = 34,
Uint32 = 35,
Uint40 = 36,
Uint48 = 37,
Uint56 = 38,
Uint64 = 39,
Int8 = 40,
Int16 = 41,
Int24 = 42,
Int32 = 43,
Int40 = 44,
Int48 = 45,
Int56 = 46,
Int64 = 47,
Enum8 = 48,
Enum16 = 49,
Semi = 56,
Single = 57,
Double = 58,
OctetString = 65,
CharString = 66,
LongOctetString = 67,
LongCharString = 68,
Array = 72,
Struct = 76,
Set = 80,
Bag = 81,
TimeOfDay = 224,
Date = 225,
UtcTime = 226,
ClusterId = 232,
AttributeId = 233,
BacnetOid = 234,
Ieee = 240,
SecurityKey = 241,
Unknown = 255,
}Expand description
A ZCL data type, by its wire id.
Variants§
NoData = 0
Data8 = 8
Data16 = 9
Data24 = 10
Data32 = 11
Data40 = 12
Data48 = 13
Data56 = 14
Data64 = 15
Bool = 16
Map8 = 24
Map16 = 25
Map24 = 26
Map32 = 27
Map40 = 28
Map48 = 29
Map56 = 30
Map64 = 31
Uint8 = 32
Uint16 = 33
Uint24 = 34
Uint32 = 35
Uint40 = 36
Uint48 = 37
Uint56 = 38
Uint64 = 39
Int8 = 40
Int16 = 41
Int24 = 42
Int32 = 43
Int40 = 44
Int48 = 45
Int56 = 46
Int64 = 47
Enum8 = 48
Enum16 = 49
Semi = 56
Single = 57
Double = 58
OctetString = 65
CharString = 66
LongOctetString = 67
LongCharString = 68
Array = 72
Struct = 76
Set = 80
Bag = 81
TimeOfDay = 224
Date = 225
UtcTime = 226
ClusterId = 232
AttributeId = 233
BacnetOid = 234
Ieee = 240
SecurityKey = 241
Unknown = 255
Implementations§
Trait Implementations§
impl Copy for DataType
impl Eq for DataType
Source§impl Ord for DataType
impl Ord for DataType
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for DataType
impl PartialOrd for DataType
impl StructuralPartialEq for DataType
Auto Trait Implementations§
impl Freeze for DataType
impl RefUnwindSafe for DataType
impl Send for DataType
impl Sync for DataType
impl Unpin for DataType
impl UnsafeUnpin for DataType
impl UnwindSafe for DataType
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