pub struct SignatureExplanation {
pub name: String,
pub specificity: u32,
pub predicates_matched: bool,
pub predicates: Vec<PredicateOutcome>,
}Expand description
Per-signature detail produced by SchemaClassifier::explain.
Fields§
§name: StringThe signature’s schema name.
specificity: u32The signature’s tie-breaking specificity.
predicates_matched: boolWhether every predicate held (the signature matched).
predicates: Vec<PredicateOutcome>Per-predicate outcomes, in signature order.
Trait Implementations§
Source§impl Clone for SignatureExplanation
impl Clone for SignatureExplanation
Source§fn clone(&self) -> SignatureExplanation
fn clone(&self) -> SignatureExplanation
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 SignatureExplanation
impl Debug for SignatureExplanation
Auto Trait Implementations§
impl Freeze for SignatureExplanation
impl RefUnwindSafe for SignatureExplanation
impl Send for SignatureExplanation
impl Sync for SignatureExplanation
impl Unpin for SignatureExplanation
impl UnsafeUnpin for SignatureExplanation
impl UnwindSafe for SignatureExplanation
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