pub struct TariffEnergy {
pub prices: Vec<TariffEnergyPrice>,
pub tax_rates: Option<Vec<TaxRate>>,
pub custom_data: Option<CustomData>,
}Expand description
Price elements and tax for energy
Fields§
§prices: Vec<TariffEnergyPrice>§tax_rates: Option<Vec<TaxRate>>§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for TariffEnergy
impl Clone for TariffEnergy
Source§impl Debug for TariffEnergy
impl Debug for TariffEnergy
Source§impl<'de> Deserialize<'de> for TariffEnergy
impl<'de> Deserialize<'de> for TariffEnergy
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 TariffEnergy
impl PartialEq for TariffEnergy
Source§impl Serialize for TariffEnergy
impl Serialize for TariffEnergy
impl StructuralPartialEq for TariffEnergy
Auto Trait Implementations§
impl Freeze for TariffEnergy
impl RefUnwindSafe for TariffEnergy
impl Send for TariffEnergy
impl Sync for TariffEnergy
impl Unpin for TariffEnergy
impl UnsafeUnpin for TariffEnergy
impl UnwindSafe for TariffEnergy
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