pub struct TaxRule {
pub applies_to_energy_fee: bool,
pub applies_to_minimum_maximum_cost: bool,
pub applies_to_overstay_fee: bool,
pub applies_to_parking_fee: bool,
pub custom_data: Option<CustomData>,
pub tax_included_in_price: Option<bool>,
pub tax_rate: RationalNumber,
pub tax_rule_i_d: i64,
pub tax_rule_name: Option<String<100usize>>,
}Expand description
Part of ISO 15118-20 price schedule.
Fields§
§applies_to_energy_fee: boolIndicates whether this tax applies to Energy Fees.
applies_to_minimum_maximum_cost: boolIndicates whether this tax applies to Minimum/Maximum Cost.
applies_to_overstay_fee: boolIndicates whether this tax applies to Overstay Fees.
applies_to_parking_fee: boolIndicates whether this tax applies to Parking Fees.
custom_data: Option<CustomData>§tax_included_in_price: Option<bool>Indicates whether the tax is included in any price or not.
tax_rate: RationalNumber§tax_rule_i_d: i64Id for the tax rule.
tax_rule_name: Option<String<100usize>>Human readable string to identify the tax rule.
Trait Implementations§
impl Eq for TaxRule
impl StructuralPartialEq for TaxRule
Auto Trait Implementations§
impl Freeze for TaxRule
impl RefUnwindSafe for TaxRule
impl Send for TaxRule
impl Sync for TaxRule
impl Unpin for TaxRule
impl UnsafeUnpin for TaxRule
impl UnwindSafe for TaxRule
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