pub struct PathStats {
pub seen: u64,
pub first_at_s: f64,
pub last_at_s: f64,
pub last_seen_sample: u64,
pub kinds: BTreeMap<&'static str, u64>,
pub changes: u64,
pub last_change_at_s: Option<f64>,
pub num_min: Option<f64>,
pub num_max: Option<f64>,
pub num_last: Option<f64>,
pub distinct: BTreeSet<String>,
pub distinct_overflow: bool,
/* private fields */
}Available on crate feature
decode only.Expand description
What one dotted path did across one key’s window.
Fields§
§seen: u64Document samples in which the path was present.
first_at_s: f64Window-relative seconds of first / last presence.
last_at_s: f64§last_seen_sample: u64The key’s document-sample index at last presence — what “absent since” is measured against.
kinds: BTreeMap<&'static str, u64>JSON kind → occurrences (type stability: one entry is stable).
changes: u64Times the value differed from the previous observation of this path.
last_change_at_s: Option<f64>Window-relative seconds of the last change; None = never changed.
num_min: Option<f64>Numeric min/max/last, when the path carried numbers.
num_max: Option<f64>§num_last: Option<f64>§distinct: BTreeSet<String>Small-domain distinct values (canonical JSON), until the domain
overflows DISTINCT_CAP.
distinct_overflow: boolThe domain outgrew the cap (or carried values too large to track) — the set above is then cleared, not silently partial.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PathStats
impl RefUnwindSafe for PathStats
impl Send for PathStats
impl Sync for PathStats
impl Unpin for PathStats
impl UnsafeUnpin for PathStats
impl UnwindSafe for PathStats
Blanket Implementations§
Source§impl<Source> AccessAs for Source
impl<Source> AccessAs for Source
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more