pub struct SalesTariff {
pub id: i64,
pub sales_tariff_description: Option<String>,
pub num_e_price_levels: Option<i64>,
pub sales_tariff_entry: Vec<SalesTariffEntry>,
pub custom_data: Option<CustomData>,
}Expand description
A SalesTariff provided by a Mobility Operator (EMSP) . NOTE: This dataType is based on dataTypes from <<ref-ISOIEC15118-2,ISO 15118-2>>.
Fields§
§id: i64SalesTariff identifier used to identify one sales tariff. An SAID remains a unique identifier for one schedule throughout a charging session.
sales_tariff_description: Option<String>A human readable title/short description of the sales tariff e.g. for HMI display purposes.
num_e_price_levels: Option<i64>Defines the overall number of distinct price levels used across all provided SalesTariff elements.
sales_tariff_entry: Vec<SalesTariffEntry>§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for SalesTariff
impl Clone for SalesTariff
Source§impl Debug for SalesTariff
impl Debug for SalesTariff
Source§impl<'de> Deserialize<'de> for SalesTariff
impl<'de> Deserialize<'de> for SalesTariff
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 SalesTariff
impl PartialEq for SalesTariff
Source§impl Serialize for SalesTariff
impl Serialize for SalesTariff
impl StructuralPartialEq for SalesTariff
Auto Trait Implementations§
impl Freeze for SalesTariff
impl RefUnwindSafe for SalesTariff
impl Send for SalesTariff
impl Sync for SalesTariff
impl Unpin for SalesTariff
impl UnsafeUnpin for SalesTariff
impl UnwindSafe for SalesTariff
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