pub struct CheckOutcome {
pub report_yaml: String,
pub has_errors: bool,
pub has_warnings: bool,
pub total_commits: usize,
pub strict: bool,
pub exit_code: i32,
}Expand description
Structured output from run_check for programmatic consumers (MCP).
Fields§
§report_yaml: StringYAML serialisation of the full crate::data::check::CheckReport.
has_errors: booltrue when any commit has an error-severity issue.
has_warnings: booltrue when any commit has a warning-severity issue.
total_commits: usizeTotal commits in the range that were checked.
strict: boolStrict mode setting that produced exit_code.
exit_code: i32Exit code the CLI would use, honouring strict.
Trait Implementations§
Source§impl Clone for CheckOutcome
impl Clone for CheckOutcome
Source§fn clone(&self) -> CheckOutcome
fn clone(&self) -> CheckOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 CheckOutcome
impl RefUnwindSafe for CheckOutcome
impl Send for CheckOutcome
impl Sync for CheckOutcome
impl Unpin for CheckOutcome
impl UnsafeUnpin for CheckOutcome
impl UnwindSafe for CheckOutcome
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