pub struct CompiledRecordCheck {
pub kind: CompiledRecordKind,
pub on_failure: OnFailure,
pub name: &'static str,
pub field: Option<String>,
}Available on crate feature
quality only.Expand description
One compiled per-record check: the check kind plus its failure policy and labelling metadata.
Fields§
§kind: CompiledRecordKind§on_failure: OnFailure§name: &'static strStable metric-label name, e.g. "not_null".
field: Option<String>Addressed field (for envelope/metric field label); None for whole-
record checks like json_schema.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CompiledRecordCheck
impl !RefUnwindSafe for CompiledRecordCheck
impl Send for CompiledRecordCheck
impl Sync for CompiledRecordCheck
impl Unpin for CompiledRecordCheck
impl UnsafeUnpin for CompiledRecordCheck
impl !UnwindSafe for CompiledRecordCheck
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