pub struct TariffEnergyPrice {
pub price_kwh: f64,
pub conditions: Option<TariffConditions>,
pub custom_data: Option<CustomData>,
}Expand description
Tariff with optional conditions for an energy price.
Fields§
§price_kwh: f64Price per kWh (excl. tax) for this element.
conditions: Option<TariffConditions>§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for TariffEnergyPrice
impl Clone for TariffEnergyPrice
Source§impl Debug for TariffEnergyPrice
impl Debug for TariffEnergyPrice
Source§impl<'de> Deserialize<'de> for TariffEnergyPrice
impl<'de> Deserialize<'de> for TariffEnergyPrice
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 TariffEnergyPrice
impl PartialEq for TariffEnergyPrice
Source§impl Serialize for TariffEnergyPrice
impl Serialize for TariffEnergyPrice
impl StructuralPartialEq for TariffEnergyPrice
Auto Trait Implementations§
impl Freeze for TariffEnergyPrice
impl RefUnwindSafe for TariffEnergyPrice
impl Send for TariffEnergyPrice
impl Sync for TariffEnergyPrice
impl Unpin for TariffEnergyPrice
impl UnsafeUnpin for TariffEnergyPrice
impl UnwindSafe for TariffEnergyPrice
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