pub struct JsonlUsage { /* private fields */ }Expand description
Data derived from the JSONL transcript aggregator. seven_day is
always populated (zero-valued on an empty transcript); five_hour
is None when the current 5h block has no recent activity, per
docs/specs/jsonl-aggregation.md. Fields are pub(crate) so the
aggregator+cascade own the construction invariants; segments in
this crate read them directly.
Trait Implementations§
Source§impl Clone for JsonlUsage
impl Clone for JsonlUsage
Source§fn clone(&self) -> JsonlUsage
fn clone(&self) -> JsonlUsage
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 JsonlUsage
impl Debug for JsonlUsage
Source§impl PartialEq for JsonlUsage
impl PartialEq for JsonlUsage
Source§fn eq(&self, other: &JsonlUsage) -> bool
fn eq(&self, other: &JsonlUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for JsonlUsage
Auto Trait Implementations§
impl Freeze for JsonlUsage
impl RefUnwindSafe for JsonlUsage
impl Send for JsonlUsage
impl Sync for JsonlUsage
impl Unpin for JsonlUsage
impl UnsafeUnpin for JsonlUsage
impl UnwindSafe for JsonlUsage
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