Enum sep2_common::packages::types::UomType
source · #[repr(u8)]pub enum UomType {
Show 32 variants
NotApplicable = 0,
Amperes = 5,
Kelvin = 6,
DegreesCelsius = 23,
Voltage = 29,
Joule = 31,
Hz = 33,
W = 38,
MtrCubed = 42,
VA = 61,
VAr = 63,
CosTheta = 65,
VSquared = 67,
ASquared = 69,
VAh = 71,
Wh = 72,
VArh = 73,
Ah = 106,
FtCubed = 119,
FtCubedPerHour = 122,
MCubedPerHour = 125,
USGallons = 128,
UGGallonsPerHour = 129,
ImperialGallons = 130,
ImperialGallonsPerHour = 131,
BTU = 132,
BTUPerHour = 133,
Liter = 134,
LiterPerHour = 137,
PAGauge = 140,
PAAbsolute = 155,
Therm = 169,
}
Variants§
NotApplicable = 0
Amperes = 5
Kelvin = 6
DegreesCelsius = 23
Voltage = 29
Joule = 31
Hz = 33
W = 38
MtrCubed = 42
VA = 61
VAr = 63
CosTheta = 65
VSquared = 67
ASquared = 69
VAh = 71
Wh = 72
VArh = 73
Ah = 106
FtCubed = 119
FtCubedPerHour = 122
MCubedPerHour = 125
USGallons = 128
UGGallonsPerHour = 129
ImperialGallons = 130
ImperialGallonsPerHour = 131
BTU = 132
BTUPerHour = 133
Liter = 134
LiterPerHour = 137
PAGauge = 140
PAAbsolute = 155
Therm = 169
Trait Implementations§
source§impl Ord for UomType
impl Ord for UomType
source§impl PartialEq<UomType> for UomType
impl PartialEq<UomType> for UomType
source§impl PartialOrd<UomType> for UomType
impl PartialOrd<UomType> for UomType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl YaSerialize for UomType
impl YaSerialize for UomType
fn name() -> &'static strwhere Self: Sized,
fn serialize<W: Write>(&self, writer: &mut Serializer<W>) -> Result<(), String>where Self: Sized,
fn serialize_attributes( &self, source_attributes: Vec<OwnedAttribute>, source_namespace: Namespace ) -> Result<(Vec<OwnedAttribute>, Namespace), String>where Self: Sized,
impl Copy for UomType
impl Eq for UomType
impl StructuralEq for UomType
impl StructuralPartialEq for UomType
Auto Trait Implementations§
impl RefUnwindSafe for UomType
impl Send for UomType
impl Sync for UomType
impl Unpin for UomType
impl UnwindSafe for UomType
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