pub struct RuleReport {
pub id: RuleId,
pub passed: bool,
pub facts: Vec<(String, String)>,
pub verdict: String,
}Expand description
One rule’s deep-dive report for logoff -e <N>: the live, per-repo state behind
a single check, ready for crate::report::print_rule_detail to render.
Fields§
§id: RuleId§passed: bool§facts: Vec<(String, String)>“This repo now” label/value lines (rule-specific live state).
verdict: StringOne-line verdict: the failure reason, or a short “PASS …”.
Trait Implementations§
Source§impl Clone for RuleReport
impl Clone for RuleReport
Source§fn clone(&self) -> RuleReport
fn clone(&self) -> RuleReport
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 moreAuto Trait Implementations§
impl Freeze for RuleReport
impl RefUnwindSafe for RuleReport
impl Send for RuleReport
impl Sync for RuleReport
impl Unpin for RuleReport
impl UnsafeUnpin for RuleReport
impl UnwindSafe for RuleReport
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