pub enum MeasurementType {
Production,
NetConsumption,
TotalConsumption,
}Variants§
Production
Energy producted from the inverters.
NetConsumption
Load minus solar production.
TotalConsumption
Total load.
Trait Implementations§
Source§impl Clone for MeasurementType
impl Clone for MeasurementType
Source§fn clone(&self) -> MeasurementType
fn clone(&self) -> MeasurementType
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 MeasurementType
impl Debug for MeasurementType
Source§impl<'de> Deserialize<'de> for MeasurementType
impl<'de> Deserialize<'de> for MeasurementType
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 PartialEq for MeasurementType
impl PartialEq for MeasurementType
Source§impl Serialize for MeasurementType
impl Serialize for MeasurementType
impl Copy for MeasurementType
impl Eq for MeasurementType
impl StructuralPartialEq for MeasurementType
Auto Trait Implementations§
impl Freeze for MeasurementType
impl RefUnwindSafe for MeasurementType
impl Send for MeasurementType
impl Sync for MeasurementType
impl Unpin for MeasurementType
impl UnwindSafe for MeasurementType
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