pub struct SchemaExplanation {
pub matched: Option<String>,
pub specificity: Option<u32>,
pub signature: Option<SignatureExplanation>,
}Expand description
Why an event classified (or did not) as reported by
SchemaClassifier::explain: the winning schema (if any) plus the
signature that explains the outcome (the winning signature, or for an
unknown event the closest near-miss).
Fields§
§matched: Option<String>The classified schema name, or None when the event matched none.
specificity: Option<u32>The winning signature’s specificity, when matched.
signature: Option<SignatureExplanation>The explaining signature: the winner when matched, otherwise the highest-scoring near-miss (most predicates passing).
Trait Implementations§
Source§impl Clone for SchemaExplanation
impl Clone for SchemaExplanation
Source§fn clone(&self) -> SchemaExplanation
fn clone(&self) -> SchemaExplanation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SchemaExplanation
impl Debug for SchemaExplanation
Auto Trait Implementations§
impl Freeze for SchemaExplanation
impl RefUnwindSafe for SchemaExplanation
impl Send for SchemaExplanation
impl Sync for SchemaExplanation
impl Unpin for SchemaExplanation
impl UnsafeUnpin for SchemaExplanation
impl UnwindSafe for SchemaExplanation
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