pub struct KeyState {
pub seen_int: bool,
pub seen_float: bool,
pub seen_bool: bool,
pub seen_time: bool,
pub seen_binary_hex: bool,
pub seen_string: bool,
pub seen_null: bool,
pub total_records_seen_in: usize,
pub present_count: usize,
pub first_sigil: Option<u8>,
}Expand description
Per-key state maintained during pass 1.
Fields§
§seen_int: bool§seen_float: bool§seen_bool: bool§seen_time: bool§seen_binary_hex: bool§seen_string: bool§seen_null: bool§total_records_seen_in: usize§present_count: usizeRecords in which this key was present (non-null).
first_sigil: Option<u8>Sigil from the very first non-null observation (for FirstWins policy).
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyState
impl RefUnwindSafe for KeyState
impl Send for KeyState
impl Sync for KeyState
impl Unpin for KeyState
impl UnsafeUnpin for KeyState
impl UnwindSafe for KeyState
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