pub struct ChargingSchedulePeriod {
pub start_period: i32,
pub limit: Decimal,
pub number_phases: Option<i32>,
}
Expand description
Charging schedule period structure defines a time period in a charging schedule, as used in: ChargingSchedule.
Fields§
§start_period: i32
Required. Start of the period, in seconds from the start of schedule. The value of StartPeriod also defines the stop time of the previous period.
limit: Decimal
Required. Charging rate limit during the schedule period, in the applicable chargingRateUnit, for example in Amperes or Watts. Accepts at most one digit fraction (e.g. 8.1).
number_phases: Option<i32>
Optional. 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.
Trait Implementations§
Source§impl Clone for ChargingSchedulePeriod
impl Clone for ChargingSchedulePeriod
Source§fn clone(&self) -> ChargingSchedulePeriod
fn clone(&self) -> ChargingSchedulePeriod
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ChargingSchedulePeriod
impl Debug for ChargingSchedulePeriod
Source§impl Default for ChargingSchedulePeriod
impl Default for ChargingSchedulePeriod
Source§fn default() -> ChargingSchedulePeriod
fn default() -> ChargingSchedulePeriod
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChargingSchedulePeriod
impl<'de> Deserialize<'de> for ChargingSchedulePeriod
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 ChargingSchedulePeriod
impl PartialEq for ChargingSchedulePeriod
Source§impl Serialize for ChargingSchedulePeriod
impl Serialize for ChargingSchedulePeriod
impl StructuralPartialEq for ChargingSchedulePeriod
Auto Trait Implementations§
impl Freeze for ChargingSchedulePeriod
impl RefUnwindSafe for ChargingSchedulePeriod
impl Send for ChargingSchedulePeriod
impl Sync for ChargingSchedulePeriod
impl Unpin for ChargingSchedulePeriod
impl UnwindSafe for ChargingSchedulePeriod
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