pub struct OverstayRule {
pub custom_data: Option<CustomData>,
pub overstay_fee: RationalNumber,
pub overstay_fee_period: i64,
pub overstay_rule_description: Option<String<32usize>>,
pub start_time: i64,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§custom_data: Option<CustomData>§overstay_fee: RationalNumber§overstay_fee_period: i64Time till overstay will be reapplied
overstay_rule_description: Option<String<32usize>>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.
Trait Implementations§
Source§impl Clone for OverstayRule
impl Clone for OverstayRule
Source§fn clone(&self) -> OverstayRule
fn clone(&self) -> OverstayRule
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 OverstayRule
impl Debug for OverstayRule
impl Eq for OverstayRule
Source§impl PartialEq for OverstayRule
impl PartialEq 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