pub struct PriceRule {
pub carbon_dioxide_emission: Option<i64>,
pub custom_data: Option<CustomData>,
pub energy_fee: RationalNumber,
pub parking_fee: Option<RationalNumber>,
pub parking_fee_period: Option<i64>,
pub power_range_start: RationalNumber,
pub renewable_generation_percentage: Option<i64>,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§carbon_dioxide_emission: Option<i64>Number of grams of CO2 per kWh.
custom_data: Option<CustomData>§energy_fee: RationalNumber§parking_fee: Option<RationalNumber>§parking_fee_period: Option<i64>The duration of the parking fee period (in seconds). When the time enters into a ParkingFeePeriod, the ParkingFee will apply to the session. .
power_range_start: RationalNumber§renewable_generation_percentage: Option<i64>Percentage of the power that is created by renewable resources.
Trait Implementations§
impl Eq for PriceRule
impl StructuralPartialEq for PriceRule
Auto Trait Implementations§
impl Freeze for PriceRule
impl RefUnwindSafe for PriceRule
impl Send for PriceRule
impl Sync for PriceRule
impl Unpin for PriceRule
impl UnsafeUnpin for PriceRule
impl UnwindSafe for PriceRule
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