#[non_exhaustive]pub enum MeasuredQuantity {
Show 13 variants
Current,
Voltage,
ActivePower,
ReactivePower,
Pressure,
LoadProfile,
StandardLoadProfile,
Temperature,
StateNumber,
CalorificValue,
DegreeDays,
VolumeFlow,
Prices,
}Expand description
Measured physical quantity.
Indicates the physical quantity that was measured.
German: Messgroesse
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.
Current
Electric current (Strom)
Voltage
Voltage (Spannung)
ActivePower
Active power (Wirkleistung)
ReactivePower
Reactive power (Blindleistung)
Pressure
Pressure (Druck)
LoadProfile
Load profile (Lastgang)
StandardLoadProfile
Standard load profile (Lastprofil)
Temperature
Temperature (Temperatur)
StateNumber
State number (Zustandszahl)
CalorificValue
Calorific value (Brennwert)
DegreeDays
Degree days (Gradtagszahlen)
VolumeFlow
Volume flow (Volumenstrom)
Prices
Prices (Preise)
Implementations§
Source§impl MeasuredQuantity
impl MeasuredQuantity
Sourcepub fn german_name(&self) -> &'static str
pub fn german_name(&self) -> &'static str
Returns the German name.
Trait Implementations§
Source§impl Clone for MeasuredQuantity
impl Clone for MeasuredQuantity
Source§fn clone(&self) -> MeasuredQuantity
fn clone(&self) -> MeasuredQuantity
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 MeasuredQuantity
impl Debug for MeasuredQuantity
Source§impl<'de> Deserialize<'de> for MeasuredQuantity
impl<'de> Deserialize<'de> for MeasuredQuantity
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 MeasuredQuantity
impl Hash for MeasuredQuantity
Source§impl PartialEq for MeasuredQuantity
impl PartialEq for MeasuredQuantity
Source§impl Serialize for MeasuredQuantity
impl Serialize for MeasuredQuantity
impl Copy for MeasuredQuantity
impl Eq for MeasuredQuantity
impl StructuralPartialEq for MeasuredQuantity
Auto Trait Implementations§
impl Freeze for MeasuredQuantity
impl RefUnwindSafe for MeasuredQuantity
impl Send for MeasuredQuantity
impl Sync for MeasuredQuantity
impl Unpin for MeasuredQuantity
impl UnsafeUnpin for MeasuredQuantity
impl UnwindSafe for MeasuredQuantity
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