pub struct SalesTariffEntry<CustomDataType = NoCustomData> {
pub consumption_cost: Option<Vec<ConsumptionCost<CustomDataType>, 3usize>>,
pub custom_data: Option<CustomDataType>,
pub e_price_level: Option<i64>,
pub relative_time_interval: RelativeTimeInterval<CustomDataType>,
}Fields§
§consumption_cost: Option<Vec<ConsumptionCost<CustomDataType>, 3usize>>§custom_data: Option<CustomDataType>§e_price_level: Option<i64>Defines the price level of this SalesTariffEntry (referring to NumEPriceLevels). Small values for the EPriceLevel represent a cheaper TariffEntry. Large values for the EPriceLevel represent a more expensive TariffEntry.
relative_time_interval: RelativeTimeInterval<CustomDataType>Trait Implementations§
Source§impl<CustomDataType: Clone> Clone for SalesTariffEntry<CustomDataType>
impl<CustomDataType: Clone> Clone for SalesTariffEntry<CustomDataType>
Source§fn clone(&self) -> SalesTariffEntry<CustomDataType>
fn clone(&self) -> SalesTariffEntry<CustomDataType>
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<CustomDataType: Debug> Debug for SalesTariffEntry<CustomDataType>
impl<CustomDataType: Debug> Debug for SalesTariffEntry<CustomDataType>
Source§impl<'de, CustomDataType> Deserialize<'de> for SalesTariffEntry<CustomDataType>where
CustomDataType: Deserialize<'de>,
impl<'de, CustomDataType> Deserialize<'de> for SalesTariffEntry<CustomDataType>where
CustomDataType: Deserialize<'de>,
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<CustomDataType: PartialEq> PartialEq for SalesTariffEntry<CustomDataType>
impl<CustomDataType: PartialEq> PartialEq for SalesTariffEntry<CustomDataType>
Source§impl<CustomDataType> Serialize for SalesTariffEntry<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType> Serialize for SalesTariffEntry<CustomDataType>where
CustomDataType: Serialize,
impl<CustomDataType: PartialEq> StructuralPartialEq for SalesTariffEntry<CustomDataType>
Source§impl<CustomDataType> Validate for SalesTariffEntry<CustomDataType>
Available on crate feature validate only.
impl<CustomDataType> Validate for SalesTariffEntry<CustomDataType>
Available on crate feature
validate only.Auto Trait Implementations§
impl<CustomDataType> Freeze for SalesTariffEntry<CustomDataType>where
CustomDataType: Freeze,
impl<CustomDataType> RefUnwindSafe for SalesTariffEntry<CustomDataType>where
CustomDataType: RefUnwindSafe,
impl<CustomDataType> Send for SalesTariffEntry<CustomDataType>where
CustomDataType: Send,
impl<CustomDataType> Sync for SalesTariffEntry<CustomDataType>where
CustomDataType: Sync,
impl<CustomDataType> Unpin for SalesTariffEntry<CustomDataType>where
CustomDataType: Unpin,
impl<CustomDataType> UnsafeUnpin for SalesTariffEntry<CustomDataType>where
CustomDataType: UnsafeUnpin,
impl<CustomDataType> UnwindSafe for SalesTariffEntry<CustomDataType>where
CustomDataType: UnwindSafe,
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