#[non_exhaustive]pub struct JsonlAggregate {
pub five_hour: Option<FiveHourBlock>,
pub seven_day: SevenDayWindow,
pub source_paths: Vec<PathBuf>,
}Expand description
Output of the aggregator. five_hour is None when no entry
falls within the last [BLOCK_DURATION_HOURS] hours; seven_day
is always present (zero-valued on an empty transcript).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.five_hour: Option<FiveHourBlock>§seven_day: SevenDayWindow§source_paths: Vec<PathBuf>Trait Implementations§
Source§impl Clone for JsonlAggregate
impl Clone for JsonlAggregate
Source§fn clone(&self) -> JsonlAggregate
fn clone(&self) -> JsonlAggregate
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 JsonlAggregate
impl RefUnwindSafe for JsonlAggregate
impl Send for JsonlAggregate
impl Sync for JsonlAggregate
impl Unpin for JsonlAggregate
impl UnsafeUnpin for JsonlAggregate
impl UnwindSafe for JsonlAggregate
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