Enum sep2_common::packages::types::ServiceKind
source · #[repr(u8)]pub enum ServiceKind {
Electricity = 0,
Gas = 1,
Water = 2,
Time = 3,
Pressure = 4,
Heat = 5,
Cooling = 6,
}
Variants§
Trait Implementations§
source§impl Clone for ServiceKind
impl Clone for ServiceKind
source§fn clone(&self) -> ServiceKind
fn clone(&self) -> ServiceKind
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ServiceKind
impl Debug for ServiceKind
source§impl Default for ServiceKind
impl Default for ServiceKind
source§fn default() -> ServiceKind
fn default() -> ServiceKind
Returns the “default value” for a type. Read more
source§impl PartialEq<ServiceKind> for ServiceKind
impl PartialEq<ServiceKind> for ServiceKind
source§fn eq(&self, other: &ServiceKind) -> bool
fn eq(&self, other: &ServiceKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl YaDeserialize for ServiceKind
impl YaDeserialize for ServiceKind
source§impl YaSerialize for ServiceKind
impl YaSerialize for ServiceKind
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 ServiceKind
impl Eq for ServiceKind
impl StructuralEq for ServiceKind
impl StructuralPartialEq for ServiceKind
Auto Trait Implementations§
impl RefUnwindSafe for ServiceKind
impl Send for ServiceKind
impl Sync for ServiceKind
impl Unpin for ServiceKind
impl UnwindSafe for ServiceKind
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