pub struct TotalPrice {
pub custom_data: Option<CustomData>,
pub excl_tax: Option<f64>,
pub incl_tax: Option<f64>,
}Expand description
Total cost with and without tax. Contains the total of energy, charging time, idle time, fixed and reservation costs including and/or excluding tax.
Fields§
§custom_data: Option<CustomData>§excl_tax: Option<f64>Price/cost excluding tax. Can be absent if inclTax is present.
incl_tax: Option<f64>Price/cost including tax. Can be absent if exclTax is present.
Trait Implementations§
Source§impl Clone for TotalPrice
impl Clone for TotalPrice
Source§fn clone(&self) -> TotalPrice
fn clone(&self) -> TotalPrice
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 TotalPrice
impl Debug for TotalPrice
Source§impl PartialEq for TotalPrice
impl PartialEq for TotalPrice
impl StructuralPartialEq for TotalPrice
Auto Trait Implementations§
impl Freeze for TotalPrice
impl RefUnwindSafe for TotalPrice
impl Send for TotalPrice
impl Sync for TotalPrice
impl Unpin for TotalPrice
impl UnsafeUnpin for TotalPrice
impl UnwindSafe for TotalPrice
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