pub struct HarvestStats {
pub created_in_window: u64,
pub by_source: Vec<(String, u64)>,
pub yield_per_run: Option<f64>,
}Expand description
C3 — memory harvest yield.
Fields§
§created_in_window: u64Memories whose created_at falls inside the window.
by_source: Vec<(String, u64)>Breakdown by json_extract(provenance_snapshot_json, '$.source').
yield_per_run: Option<f64>created_in_window / distinct_runs_in_window; None when 0 runs.
Trait Implementations§
Source§impl Clone for HarvestStats
impl Clone for HarvestStats
Source§fn clone(&self) -> HarvestStats
fn clone(&self) -> HarvestStats
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 HarvestStats
impl Debug for HarvestStats
Auto Trait Implementations§
impl Freeze for HarvestStats
impl RefUnwindSafe for HarvestStats
impl Send for HarvestStats
impl Sync for HarvestStats
impl Unpin for HarvestStats
impl UnsafeUnpin for HarvestStats
impl UnwindSafe for HarvestStats
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