pub struct PriceRuleStack {
pub duration: i64,
pub price_rule: Vec<PriceRule>,
pub custom_data: Option<CustomData>,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§duration: i64Duration of the stack of price rules. he amount of seconds that define the duration of the given PriceRule(s).
price_rule: Vec<PriceRule>§custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for PriceRuleStack
impl Clone for PriceRuleStack
Source§impl Debug for PriceRuleStack
impl Debug for PriceRuleStack
Source§impl<'de> Deserialize<'de> for PriceRuleStack
impl<'de> Deserialize<'de> for PriceRuleStack
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 PriceRuleStack
impl PartialEq for PriceRuleStack
Source§impl Serialize for PriceRuleStack
impl Serialize for PriceRuleStack
impl StructuralPartialEq for PriceRuleStack
Auto Trait Implementations§
impl Freeze for PriceRuleStack
impl RefUnwindSafe for PriceRuleStack
impl Send for PriceRuleStack
impl Sync for PriceRuleStack
impl Unpin for PriceRuleStack
impl UnsafeUnpin for PriceRuleStack
impl UnwindSafe for PriceRuleStack
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