pub struct RuleMatch {
pub decision: Decision,
pub reason: String,
}Expand description
The result of evaluating a command: a decision and a human-readable reason.
Fields§
§decision: DecisionThe gating decision.
reason: StringHuman-readable explanation of why this decision was reached.
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