pub struct CompositeSchedule<CustomDataType = NoCustomData> {
pub charging_rate_unit: ChargingRateUnitEnum,
pub charging_schedule_period: Vec<ChargingSchedulePeriod<CustomDataType>>,
pub custom_data: Option<CustomDataType>,
pub duration: i64,
pub evse_id: i64,
pub schedule_start: OcppTimestamp,
}Expand description
Composite_ Schedule urn:x-oca:ocpp:uid:2:233362
Fields§
§charging_rate_unit: ChargingRateUnitEnum§charging_schedule_period: Vec<ChargingSchedulePeriod<CustomDataType>>§custom_data: Option<CustomDataType>§duration: i64Duration of the schedule in seconds.
evse_id: i64The ID of the EVSE for which the schedule is requested. When evseid=0, the Charging Station calculated the expected consumption for the grid connection.
schedule_start: OcppTimestampComposite_ Schedule. Start. Date_ Time urn:x-oca:ocpp:uid:1:569456 Date and time at which the schedule becomes active. All time measurements within the schedule are relative to this timestamp.
Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for CompositeSchedule<CustomDataType>
impl<CustomDataType: Clone> Clone for CompositeSchedule<CustomDataType>
Source§fn clone(&self) -> CompositeSchedule<CustomDataType>
fn clone(&self) -> CompositeSchedule<CustomDataType>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<CustomDataType: Debug> Debug for CompositeSchedule<CustomDataType>
impl<CustomDataType: Debug> Debug for CompositeSchedule<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for CompositeSchedule<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for CompositeSchedule<CustomDataType>where
CustomDataType: Deserialize<'de>,
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<CustomDataType: PartialEq> PartialEq for CompositeSchedule<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for CompositeSchedule<CustomDataType>
Source§impl<CustomDataType> Serialize for CompositeSchedule<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for CompositeSchedule<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for CompositeSchedule<CustomDataType>
Source§impl<CustomDataType> Validate for CompositeSchedule<CustomDataType>
Available on crate features alloc and validate only.
impl<CustomDataType> Validate for CompositeSchedule<CustomDataType>
Available on crate features
alloc and validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for CompositeSchedule<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for CompositeSchedule<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for CompositeSchedule<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for CompositeSchedule<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for CompositeSchedule<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for CompositeSchedule<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for CompositeSchedule<CustomDataType>where
CustomDataType: UnwindSafe,
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