#[non_exhaustive]pub enum DeviceCategory {
Transformer,
CommunicationEquipment,
TechnicalControlEquipment,
VolumeConverter,
SmartMeterGateway,
ControlBox,
MeteringDevice,
}Expand description
Category/class of device.
Lists possible overarching device categories.
German: Geraeteklasse
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Transformer
Transformer/converter (Wandler)
CommunicationEquipment
Communication equipment (Kommunikationseinrichtung)
TechnicalControlEquipment
Technical control equipment (Technische Steuereinrichtung)
VolumeConverter
Volume converter (Mengenumwerter)
SmartMeterGateway
Smart meter gateway
ControlBox
Control box (Steuerbox)
MeteringDevice
Metering device (Zähleinrichtung)
Implementations§
Source§impl DeviceCategory
impl DeviceCategory
Sourcepub fn german_name(&self) -> &'static str
pub fn german_name(&self) -> &'static str
Returns the German name.
Trait Implementations§
Source§impl Clone for DeviceCategory
impl Clone for DeviceCategory
Source§fn clone(&self) -> DeviceCategory
fn clone(&self) -> DeviceCategory
Returns a duplicate 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 DeviceCategory
impl Debug for DeviceCategory
Source§impl<'de> Deserialize<'de> for DeviceCategory
impl<'de> Deserialize<'de> for DeviceCategory
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for DeviceCategory
impl Hash for DeviceCategory
Source§impl PartialEq for DeviceCategory
impl PartialEq for DeviceCategory
Source§impl Serialize for DeviceCategory
impl Serialize for DeviceCategory
impl Copy for DeviceCategory
impl Eq for DeviceCategory
impl StructuralPartialEq for DeviceCategory
Auto Trait Implementations§
impl Freeze for DeviceCategory
impl RefUnwindSafe for DeviceCategory
impl Send for DeviceCategory
impl Sync for DeviceCategory
impl Unpin for DeviceCategory
impl UnsafeUnpin for DeviceCategory
impl UnwindSafe for DeviceCategory
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