pub struct WindowDataPoint {
pub timestamp: DateTime<Utc>,
pub fields: HashMap<String, KindedSlot>,
}Expand description
A single data point in a window
Fields§
§timestamp: DateTime<Utc>§fields: HashMap<String, KindedSlot>Raw field values. KindedSlot’s explicit Drop / Clone dispatch
on NativeKind to release / bump heap refcounts, so
HashMap<String, KindedSlot> preserves the WB2.4 retain discipline
across snapshot/aggregator clones (per ADR-006 §2.7).
Trait Implementations§
Source§impl Clone for WindowDataPoint
impl Clone for WindowDataPoint
Source§fn clone(&self) -> WindowDataPoint
fn clone(&self) -> WindowDataPoint
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 moreAuto Trait Implementations§
impl Freeze for WindowDataPoint
impl RefUnwindSafe for WindowDataPoint
impl Send for WindowDataPoint
impl Sync for WindowDataPoint
impl Unpin for WindowDataPoint
impl UnsafeUnpin for WindowDataPoint
impl UnwindSafe for WindowDataPoint
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