pub struct PriceLevelSchedule {
pub price_level_schedule_entries: Vec<PriceLevelScheduleEntry>,
pub time_anchor: DateTime,
pub price_schedule_id: i64,
pub price_schedule_description: Option<String>,
pub number_of_price_levels: i64,
pub custom_data: Option<CustomData>,
}Expand description
The PriceLevelScheduleType is modeled after the same type that is defined in ISO 15118-20, such that if it is supplied by an EMSP as a signed EXI message, the conversion from EXI to JSON (in OCPP) and back to EXI (for ISO 15118-20) does not change the digest and therefore does not invalidate the signature.
Fields§
§price_level_schedule_entries: Vec<PriceLevelScheduleEntry>§time_anchor: DateTimeStarting point of this price schedule.
price_schedule_id: i64Unique ID of this price schedule.
price_schedule_description: Option<String>Description of the price schedule.
number_of_price_levels: i64Defines the overall number of distinct price level elements used across all PriceLevelSchedules.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for PriceLevelSchedule
impl Clone for PriceLevelSchedule
Source§impl Debug for PriceLevelSchedule
impl Debug for PriceLevelSchedule
Source§impl<'de> Deserialize<'de> for PriceLevelSchedule
impl<'de> Deserialize<'de> for PriceLevelSchedule
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 PriceLevelSchedule
impl PartialEq for PriceLevelSchedule
Source§impl Serialize for PriceLevelSchedule
impl Serialize for PriceLevelSchedule
impl StructuralPartialEq for PriceLevelSchedule
Auto Trait Implementations§
impl Freeze for PriceLevelSchedule
impl RefUnwindSafe for PriceLevelSchedule
impl Send for PriceLevelSchedule
impl Sync for PriceLevelSchedule
impl Unpin for PriceLevelSchedule
impl UnsafeUnpin for PriceLevelSchedule
impl UnwindSafe for PriceLevelSchedule
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