pub struct LintOutcome {
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_lint for programmatic consumers (MCP).
Fields§
§report_yaml: StringYAML serialisation of the full 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 linted.
strict: boolStrict mode setting that produced exit_code.
exit_code: i32Exit code the CLI would use, honouring strict.
Trait Implementations§
Source§impl Clone for LintOutcome
impl Clone for LintOutcome
Source§fn clone(&self) -> LintOutcome
fn clone(&self) -> LintOutcome
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 LintOutcome
impl RefUnwindSafe for LintOutcome
impl Send for LintOutcome
impl Sync for LintOutcome
impl Unpin for LintOutcome
impl UnsafeUnpin for LintOutcome
impl UnwindSafe for LintOutcome
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