pub struct PriceLevelScheduleEntry {
pub custom_data: Option<CustomData>,
pub duration: i64,
pub price_level: i64,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§custom_data: Option<CustomData>§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.
Trait Implementations§
Source§impl Clone for PriceLevelScheduleEntry
impl Clone for PriceLevelScheduleEntry
Source§fn clone(&self) -> PriceLevelScheduleEntry
fn clone(&self) -> PriceLevelScheduleEntry
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 PriceLevelScheduleEntry
impl Debug for PriceLevelScheduleEntry
impl Eq for PriceLevelScheduleEntry
Source§impl PartialEq for PriceLevelScheduleEntry
impl PartialEq 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