pub struct ChargingSchedule {
pub duration: Option<i32>,
pub start_schedule: Option<DateTime<Utc>>,
pub charging_rate_unit: ChargingRateUnitType,
pub charging_schedule_period: Vec<ChargingSchedulePeriod>,
pub min_charging_rate: Option<Decimal>,
}
Expand description
Charging schedule structure defines a list of charging periods, as used in: GetCompositeSchedule.conf and ChargingProfile.
Fields§
§duration: Option<i32>
Optional. Duration of the charging schedule in seconds. If the duration is left empty, the last period will continue indefinitely or until end of the transaction in case startSchedule is absent.
start_schedule: Option<DateTime<Utc>>
Optional. Starting point of an absolute schedule. If absent the schedule will be relative to start of charging.
charging_rate_unit: ChargingRateUnitType
Required. The unit of measure Limit is expressed in.
charging_schedule_period: Vec<ChargingSchedulePeriod>
Required. List of ChargingSchedulePeriod elements defining maximum power or current usage over time. The startSchedule of the first ChargingSchedulePeriod SHALL always be 0.
min_charging_rate: Option<Decimal>
Optional. Minimum charging rate supported by the electric vehicle. The unit of measure is defined by the chargingRateUnit. This parameter is intended to be used by a local smart charging algorithm to optimize the power allocation for in the case a charging process is inefficient at lower charging rates. Accepts at most one digit fraction (e.g. 8.1)
Trait Implementations§
Source§impl Clone for ChargingSchedule
impl Clone for ChargingSchedule
Source§fn clone(&self) -> ChargingSchedule
fn clone(&self) -> ChargingSchedule
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more