pub struct RuleMatch {
pub account: String,
pub rule_name: Option<String>,
pub method: CategorizationMethod,
pub confidence: f64,
}Expand description
Result of a successful categorization match.
Fields§
§account: StringThe matched account.
rule_name: Option<String>Name of the rule that matched (if any).
method: CategorizationMethodHow this match was determined.
confidence: f64Confidence score (1.0 for rules, lower for weaker matches).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RuleMatch
impl RefUnwindSafe for RuleMatch
impl Send for RuleMatch
impl Sync for RuleMatch
impl Unpin for RuleMatch
impl UnsafeUnpin for RuleMatch
impl UnwindSafe for RuleMatch
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