pub struct ChargingSchedule {
pub charging_rate_unit: ChargingRateUnit,
pub charging_schedule_period: Vec<ChargingSchedulePeriodItem>,
pub duration: Option<i64>,
pub min_charging_rate: Option<f64>,
pub start_schedule: Option<OcppTimestamp>,
}Fields§
§charging_rate_unit: ChargingRateUnit§charging_schedule_period: Vec<ChargingSchedulePeriodItem>§duration: Option<i64>§min_charging_rate: Option<f64>§start_schedule: Option<OcppTimestamp>Trait Implementations§
Source§impl Clone for ChargingSchedule
impl Clone for ChargingSchedule
Source§fn clone(&self) -> ChargingSchedule
fn clone(&self) -> ChargingSchedule
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 Debug for ChargingSchedule
impl Debug for ChargingSchedule
Source§impl<'de> Deserialize<'de> for ChargingSchedule
impl<'de> Deserialize<'de> for ChargingSchedule
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 ChargingSchedule
impl PartialEq for ChargingSchedule
Source§impl Serialize for ChargingSchedule
impl Serialize for ChargingSchedule
impl StructuralPartialEq for ChargingSchedule
Source§impl Validate for ChargingSchedule
Available on crate features alloc and validate only.
impl Validate for ChargingSchedule
Available on crate features
alloc and validate only.Auto Trait Implementations§
impl Freeze for ChargingSchedule
impl RefUnwindSafe for ChargingSchedule
impl Send for ChargingSchedule
impl Sync for ChargingSchedule
impl Unpin for ChargingSchedule
impl UnsafeUnpin for ChargingSchedule
impl UnwindSafe for ChargingSchedule
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