pub struct MatchInfo {
pub rule_id: String,
pub severity: Severity,
pub points: u32,
pub reason: String,
pub safer_alternative: Option<String>,
pub identity: Option<Requirement>,
}Fields§
§rule_id: String§severity: Severity§points: u32§reason: String§safer_alternative: Option<String>§identity: Option<Requirement>Carried through from the rule. Used by decide() to detect
when the resolved decision should be promoted to
IdentityVerification instead of plain Approval/Block.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for MatchInfo
impl RefUnwindSafe for MatchInfo
impl Send for MatchInfo
impl Sync for MatchInfo
impl Unpin for MatchInfo
impl UnsafeUnpin for MatchInfo
impl UnwindSafe for MatchInfo
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