pub struct PeriodReport {
pub start_date_time: DateTime<Utc>,
pub end_date_time: DateTime<Utc>,
pub dimensions: Dimensions,
}Expand description
A report for a single charging period that occurred during a session.
A charging period is a period of time that has relevance for the total costs of a CDR.
During a charging session, different parameters change all the time, like the amount of energy used,
or the time of day. These changes can result in another PriceComponent of the Tariff becoming active.
Fields§
§start_date_time: DateTime<Utc>The start time of this period.
end_date_time: DateTime<Utc>The end time of this period.
dimensions: DimensionsA structure that contains results per dimension.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PeriodReport
impl RefUnwindSafe for PeriodReport
impl Send for PeriodReport
impl Sync for PeriodReport
impl Unpin for PeriodReport
impl UnwindSafe for PeriodReport
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