pub struct FieldRow {
pub key: String,
pub path: String,
pub seen: u64,
pub documents: u64,
pub kinds: Vec<String>,
pub changes: u64,
pub last_change_s: Option<f64>,
pub min: Option<f64>,
pub max: Option<f64>,
pub last: Option<f64>,
pub values: Option<Vec<String>>,
}Expand description
One dotted path’s statistics over a zenctl field window (#223) — the
per-field arrival story validation cannot tell.
Fields§
§key: StringThe concrete wire key the path was observed under.
path: StringThe dotted path inside the structural value ($ = a non-object root).
seen: u64Document samples in which the path was present.
documents: u64The key’s document samples — the presence ratio’s denominator.
kinds: Vec<String>JSON kinds observed (one entry = type-stable).
changes: u64Times the value differed from its previous observation.
last_change_s: Option<f64>Window-relative seconds of the last change; absent = never changed within the window (which the stated window scopes — not “never”).
min: Option<f64>Numeric min/max/last, present only when the path carried numbers.
max: Option<f64>§last: Option<f64>§values: Option<Vec<String>>Small-domain distinct values, total when present; absent = the domain outgrew the cap (stated, never silently partial).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FieldRow
impl RefUnwindSafe for FieldRow
impl Send for FieldRow
impl Sync for FieldRow
impl Unpin for FieldRow
impl UnsafeUnpin for FieldRow
impl UnwindSafe for FieldRow
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
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> ⓘ
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> ⓘ
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