pub struct OverstayRule {
pub overstay_fee: RationalNumber,
pub overstay_rule_description: Option<String>,
pub start_time: i64,
pub overstay_fee_period: i64,
pub custom_data: Option<CustomData>,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§overstay_fee: RationalNumber§overstay_rule_description: Option<String>Human readable string to identify the overstay rule.
start_time: i64Time in seconds after trigger of the parent Overstay Rules for this particular fee to apply.
overstay_fee_period: i64Time till overstay will be reapplied
custom_data: Option<CustomData>Trait Implementations§
Source§impl Clone for OverstayRule
impl Clone for OverstayRule
Source§impl Debug for OverstayRule
impl Debug for OverstayRule
Source§impl<'de> Deserialize<'de> for OverstayRule
impl<'de> Deserialize<'de> for OverstayRule
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 OverstayRule
impl PartialEq for OverstayRule
Source§impl Serialize for OverstayRule
impl Serialize for OverstayRule
impl StructuralPartialEq for OverstayRule
Auto Trait Implementations§
impl Freeze for OverstayRule
impl RefUnwindSafe for OverstayRule
impl Send for OverstayRule
impl Sync for OverstayRule
impl Unpin for OverstayRule
impl UnsafeUnpin for OverstayRule
impl UnwindSafe for OverstayRule
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