pub struct AggregatedUsage {
pub identifier: String,
pub customer_id: String,
pub meter: String,
pub units: u64,
pub timestamp: u64,
}Expand description
One pre-aggregated provider event ready for export.
Fields§
§identifier: StringGlobally unique provider-side idempotency identifier.
customer_id: StringProvider customer identifier.
meter: StringProvider meter event name.
units: u64Summed integer quantity.
timestamp: u64Timestamp of the oldest event represented by the aggregate.
Trait Implementations§
Source§impl Clone for AggregatedUsage
impl Clone for AggregatedUsage
Source§fn clone(&self) -> AggregatedUsage
fn clone(&self) -> AggregatedUsage
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 AggregatedUsage
impl Debug for AggregatedUsage
impl Eq for AggregatedUsage
Source§impl PartialEq for AggregatedUsage
impl PartialEq for AggregatedUsage
Source§impl Serialize for AggregatedUsage
impl Serialize for AggregatedUsage
impl StructuralPartialEq for AggregatedUsage
Auto Trait Implementations§
impl Freeze for AggregatedUsage
impl RefUnwindSafe for AggregatedUsage
impl Send for AggregatedUsage
impl Sync for AggregatedUsage
impl Unpin for AggregatedUsage
impl UnsafeUnpin for AggregatedUsage
impl UnwindSafe for AggregatedUsage
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