pub enum MeterRole {
GridConnection,
Production,
Submeter,
Consumption,
}Expand description
What a meter measures.
Variants§
GridConnection
The grid connection point — the meter every decision starts from.
Production
Production of one generator.
Submeter
A sub-meter for one asset, named by subject.
Consumption
Total household consumption.
Trait Implementations§
impl Copy for MeterRole
Source§impl<'de> Deserialize<'de> for MeterRole
impl<'de> Deserialize<'de> for MeterRole
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
impl Eq for MeterRole
impl StructuralPartialEq for MeterRole
Auto Trait Implementations§
impl Freeze for MeterRole
impl RefUnwindSafe for MeterRole
impl Send for MeterRole
impl Sync for MeterRole
impl Unpin for MeterRole
impl UnsafeUnpin for MeterRole
impl UnwindSafe for MeterRole
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