Enum m_bus_parser::user_data::data_information::Unit
source · pub enum Unit {
Show 64 variants
Hms = 0,
DMY = 1,
Wh = 2,
Wh1e1 = 3,
Wh1e2 = 4,
KWh = 5,
KWh1e1 = 6,
KWh1e2 = 7,
MWh = 8,
MWh1e1 = 9,
MWh1e2 = 10,
KJ = 11,
KJ1e1 = 12,
KJ1e2 = 13,
MJ = 14,
MJ1e1 = 15,
MJ1e2 = 16,
GJ = 17,
GJ1e1 = 18,
GJ1e2 = 19,
W = 20,
W1e1 = 21,
W1e2 = 22,
KW = 23,
KW1e1 = 24,
KW1e2 = 25,
MW = 26,
MW1e1 = 27,
MW1e2 = 28,
KJH = 29,
KJH1e1 = 30,
KJH1e2 = 31,
MJH = 32,
MJH1e1 = 33,
MJH1e2 = 34,
GJH = 35,
GJH1e1 = 36,
GJH1e2 = 37,
Ml = 38,
Ml1e1 = 39,
Ml1e2 = 40,
L = 41,
L1e1 = 42,
L1e2 = 43,
M3 = 44,
M31e1 = 45,
M31e2 = 46,
MlH = 47,
MlH1e1 = 48,
MlH1e2 = 49,
LH = 50,
LH1e1 = 51,
LH1e2 = 52,
M3H = 53,
M3H1e1 = 54,
M3H1e2 = 55,
Celsius1e3 = 56,
UnitsForHCA = 57,
Reserved3A = 58,
Reserved3B = 59,
Reserved3C = 60,
Reserved3D = 61,
SameButHistoric = 62,
WithoutUnits = 63,
}
Variants§
Hms = 0
DMY = 1
Wh = 2
Wh1e1 = 3
Wh1e2 = 4
KWh = 5
KWh1e1 = 6
KWh1e2 = 7
MWh = 8
MWh1e1 = 9
MWh1e2 = 10
KJ = 11
KJ1e1 = 12
KJ1e2 = 13
MJ = 14
MJ1e1 = 15
MJ1e2 = 16
GJ = 17
GJ1e1 = 18
GJ1e2 = 19
W = 20
W1e1 = 21
W1e2 = 22
KW = 23
KW1e1 = 24
KW1e2 = 25
MW = 26
MW1e1 = 27
MW1e2 = 28
KJH = 29
KJH1e1 = 30
KJH1e2 = 31
MJH = 32
MJH1e1 = 33
MJH1e2 = 34
GJH = 35
GJH1e1 = 36
GJH1e2 = 37
Ml = 38
Ml1e1 = 39
Ml1e2 = 40
L = 41
L1e1 = 42
L1e2 = 43
M3 = 44
M31e1 = 45
M31e2 = 46
MlH = 47
MlH1e1 = 48
MlH1e2 = 49
LH = 50
LH1e1 = 51
LH1e2 = 52
M3H = 53
M3H1e1 = 54
M3H1e2 = 55
Celsius1e3 = 56
UnitsForHCA = 57
Reserved3A = 58
Reserved3B = 59
Reserved3C = 60
Reserved3D = 61
SameButHistoric = 62
WithoutUnits = 63
Trait Implementations§
source§impl PartialEq for Unit
impl PartialEq for Unit
impl Copy for Unit
impl StructuralPartialEq for Unit
Auto Trait Implementations§
impl RefUnwindSafe for Unit
impl Send for Unit
impl Sync for Unit
impl Unpin for Unit
impl UnwindSafe for Unit
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