pub struct ChargingSchedulePeriod {
pub custom_data: Option<CustomData>,
pub limit: f64,
pub number_phases: Option<i64>,
pub phase_to_use: Option<i64>,
pub start_period: i64,
}Expand description
Charging_ Schedule_ Period urn:x-oca:ocpp:uid:2:233257 Charging schedule period structure defines a time period in a charging schedule.
Fields§
§custom_data: Option<CustomData>§limit: f64Charging_ Schedule_ Period. Limit. Measure urn:x-oca:ocpp:uid:1:569241 Charging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes (A) or Watts (W). Accepts at most one digit fraction (e.g. 8.1).
number_phases: Option<i64>Charging_ Schedule_ Period. Number_ Phases. Counter urn:x-oca:ocpp:uid:1:569242 The number of phases that can be used for charging. If a number of phases is needed, numberPhases=3 will be assumed unless another number is given.
phase_to_use: Option<i64>Values: 1..3, Used if numberPhases=1 and if the EVSE is capable of switching the phase connected to the EV, i.e. ACPhaseSwitchingSupported is defined and true. It’s not allowed unless both conditions above are true. If both conditions are true, and phaseToUse is omitted, the Charging Station / EVSE will make the selection on its own.
start_period: i64Charging_ Schedule_ Period. Start_ Period. Elapsed_ Time urn:x-oca:ocpp:uid:1:569240 Start of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.
Trait Implementations§
Source§impl Clone for ChargingSchedulePeriod
impl Clone for ChargingSchedulePeriod
Source§fn clone(&self) -> ChargingSchedulePeriod
fn clone(&self) -> ChargingSchedulePeriod
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more