Enum sep2_common::packages::types::KindType
source · #[repr(u8)]pub enum KindType {
NotApplicable = 0,
Currency = 3,
Demand = 8,
Energy = 12,
Power = 37,
}
Variants§
Trait Implementations§
source§impl Ord for KindType
impl Ord for KindType
source§impl PartialEq<KindType> for KindType
impl PartialEq<KindType> for KindType
source§impl PartialOrd<KindType> for KindType
impl PartialOrd<KindType> for KindType
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 KindType
impl YaSerialize for KindType
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 KindType
impl Eq for KindType
impl StructuralEq for KindType
impl StructuralPartialEq for KindType
Auto Trait Implementations§
impl RefUnwindSafe for KindType
impl Send for KindType
impl Sync for KindType
impl Unpin for KindType
impl UnwindSafe for KindType
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