pub struct ConsumptionCost {
pub cost: Vec<Cost, 3usize>,
pub custom_data: Option<CustomData>,
pub start_value: f64,
}Expand description
Consumption_ Cost urn:x-oca:ocpp:uid:2:233259
Fields§
§cost: Vec<Cost, 3usize>§custom_data: Option<CustomData>§start_value: f64Consumption_ Cost. Start_ Value. Numeric urn:x-oca:ocpp:uid:1:569246 The lowest level of consumption that defines the starting point of this consumption block. The block interval extends to the start of the next interval.
Trait Implementations§
Source§impl Clone for ConsumptionCost
impl Clone for ConsumptionCost
Source§fn clone(&self) -> ConsumptionCost
fn clone(&self) -> ConsumptionCost
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 ConsumptionCost
impl Debug for ConsumptionCost
Source§impl PartialEq for ConsumptionCost
impl PartialEq for ConsumptionCost
impl StructuralPartialEq for ConsumptionCost
Auto Trait Implementations§
impl Freeze for ConsumptionCost
impl RefUnwindSafe for ConsumptionCost
impl Send for ConsumptionCost
impl Sync for ConsumptionCost
impl Unpin for ConsumptionCost
impl UnsafeUnpin for ConsumptionCost
impl UnwindSafe for ConsumptionCost
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