pub struct AnalyzerFieldState {
pub name: String,
pub full_path: String,
pub depth: usize,
pub count: u64,
pub lenbits: u32,
pub writer: BitWriterContainer,
pub bit_counts: Vec<BitStats>,
pub bit_order: BitOrder,
pub value_counts: FxHashMap<u64, u64>,
}Expand description
Intermediate statistics for a single field or group of fields
Fields§
§name: StringName of the field or group
full_path: StringName of the full path to the field or group
depth: usizeThe depth of the field in the group/field chain.
count: u64Total number of observed values
lenbits: u32Length of the field or group in bits.
writer: BitWriterContainerBitstream writer for accumulating data belonging to this field or group. The writer uses the endian inherited from the schema root.
bit_counts: Vec<BitStats>Bit-level statistics. Index of tuple is bit offset.
bit_order: BitOrderThe order of the bits within the field
value_counts: FxHashMap<u64, u64>Count of occurrences for each observed value
Auto Trait Implementations§
impl Freeze for AnalyzerFieldState
impl RefUnwindSafe for AnalyzerFieldState
impl Send for AnalyzerFieldState
impl Sync for AnalyzerFieldState
impl Unpin for AnalyzerFieldState
impl UnwindSafe for AnalyzerFieldState
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
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