pub struct PriceLevelScheduleEntry {
pub duration: i64,
pub price_level: i64,
pub custom_data: Option<CustomData>,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§duration: i64The amount of seconds that define the duration of this given PriceLevelScheduleEntry.
price_level: i64Defines the price level of this PriceLevelScheduleEntry (referring to NumberOfPriceLevels). Small values for the PriceLevel represent a cheaper PriceLevelScheduleEntry. Large values for the PriceLevel represent a more expensive PriceLevelScheduleEntry.
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for PriceLevelScheduleEntry
impl Clone for PriceLevelScheduleEntry
Source§impl Debug for PriceLevelScheduleEntry
impl Debug for PriceLevelScheduleEntry
Source§impl<'de> Deserialize<'de> for PriceLevelScheduleEntry
impl<'de> Deserialize<'de> for PriceLevelScheduleEntry
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 PriceLevelScheduleEntry
impl PartialEq for PriceLevelScheduleEntry
Source§impl Serialize for PriceLevelScheduleEntry
impl Serialize for PriceLevelScheduleEntry
impl StructuralPartialEq for PriceLevelScheduleEntry
Auto Trait Implementations§
impl Freeze for PriceLevelScheduleEntry
impl RefUnwindSafe for PriceLevelScheduleEntry
impl Send for PriceLevelScheduleEntry
impl Sync for PriceLevelScheduleEntry
impl Unpin for PriceLevelScheduleEntry
impl UnsafeUnpin for PriceLevelScheduleEntry
impl UnwindSafe for PriceLevelScheduleEntry
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