Enum sep2_common::packages::types::UnitType
source · #[repr(u8)]pub enum UnitType {
Show 13 variants
kWh = 0,
kW = 1,
Watts = 2,
CubicMeters = 3,
CubicFeet = 4,
USGallons = 5,
ImperialGallons = 6,
BTU = 7,
Liters = 8,
kPAGauge = 9,
kPAAbsolute = 10,
Megajoule = 11,
Unitless = 12,
}
Variants§
kWh = 0
kW = 1
Watts = 2
CubicMeters = 3
CubicFeet = 4
USGallons = 5
ImperialGallons = 6
BTU = 7
Liters = 8
kPAGauge = 9
kPAAbsolute = 10
Megajoule = 11
Unitless = 12
Trait Implementations§
source§impl PartialEq<UnitType> for UnitType
impl PartialEq<UnitType> for UnitType
source§impl YaSerialize for UnitType
impl YaSerialize for UnitType
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 UnitType
impl Eq for UnitType
impl StructuralEq for UnitType
impl StructuralPartialEq for UnitType
Auto Trait Implementations§
impl RefUnwindSafe for UnitType
impl Send for UnitType
impl Sync for UnitType
impl Unpin for UnitType
impl UnwindSafe for UnitType
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