pub struct EmobilityMeterInput {
pub months: Option<Decimal>,
pub kwh_charged: Option<Decimal>,
pub sessions: Option<u32>,
pub roaming_sessions: Option<u32>,
}Expand description
E-Mobility CPO/EMSP usage data.
Fields§
§months: Option<Decimal>§kwh_charged: Option<Decimal>§sessions: Option<u32>§roaming_sessions: Option<u32>Implementations§
Source§impl EmobilityMeterInput
impl EmobilityMeterInput
Sourcepub fn apportioned(&self, a: &DayApportionment) -> Self
pub fn apportioned(&self, a: &DayApportionment) -> Self
This leg’s share of an e-mobility period total.
Trait Implementations§
Source§impl Clone for EmobilityMeterInput
impl Clone for EmobilityMeterInput
Source§fn clone(&self) -> EmobilityMeterInput
fn clone(&self) -> EmobilityMeterInput
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 EmobilityMeterInput
impl Debug for EmobilityMeterInput
Source§impl Default for EmobilityMeterInput
impl Default for EmobilityMeterInput
Source§fn default() -> EmobilityMeterInput
fn default() -> EmobilityMeterInput
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmobilityMeterInput
impl<'de> Deserialize<'de> for EmobilityMeterInput
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
Auto Trait Implementations§
impl Freeze for EmobilityMeterInput
impl RefUnwindSafe for EmobilityMeterInput
impl Send for EmobilityMeterInput
impl Sync for EmobilityMeterInput
impl Unpin for EmobilityMeterInput
impl UnsafeUnpin for EmobilityMeterInput
impl UnwindSafe for EmobilityMeterInput
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