pub struct Tariffs {
pub export: Option<f32>,
pub import_peak: Option<f32>,
pub import_off_peak: Option<f32>,
pub import_shoulder: Option<f32>,
pub import_high_shoulder: Option<f32>,
pub daily: Option<f32>,
}Expand description
System tariff information.
Part of a FullSystem response.
Fields§
§export: Option<f32>Export tariff in cents.
import_peak: Option<f32>Import peak tariff in cents.
import_off_peak: Option<f32>Import off-peak tariff in cents.
import_shoulder: Option<f32>Import shoulder tariff in cents.
import_high_shoulder: Option<f32>Import high shoulder tariff in cents.
daily: Option<f32>Daily import charge in cents.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tariffs
impl<'de> Deserialize<'de> for Tariffs
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 Copy for Tariffs
impl StructuralPartialEq for Tariffs
Auto Trait Implementations§
impl Freeze for Tariffs
impl RefUnwindSafe for Tariffs
impl Send for Tariffs
impl Sync for Tariffs
impl Unpin for Tariffs
impl UnwindSafe for Tariffs
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