pub(crate) struct LintReport {
pub(crate) ok: bool,
pub(crate) exit_code: i32,
pub(crate) map: MapLintReport,
pub(crate) index: Option<DatabaseLintReport>,
pub(crate) report: String,
}Expand description
Shared typed lint result consumed by CLI and MCP adapters.
Fields§
§ok: boolWhether every selected lint check passed.
exit_code: i32CLI-compatible process exit code.
map: MapLintReportMap and filesystem-owned lint facts.
index: Option<DatabaseLintReport>SQLite-owned lint facts when an index exists.
report: StringHuman-readable compatibility rendering of the same facts.
Trait Implementations§
Source§impl Debug for LintReport
impl Debug for LintReport
impl Eq for LintReport
Source§impl PartialEq for LintReport
impl PartialEq for LintReport
Source§fn eq(&self, other: &LintReport) -> bool
fn eq(&self, other: &LintReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LintReport
impl Serialize for LintReport
impl StructuralPartialEq for LintReport
Auto Trait Implementations§
impl Freeze for LintReport
impl RefUnwindSafe for LintReport
impl Send for LintReport
impl Sync for LintReport
impl Unpin for LintReport
impl UnsafeUnpin for LintReport
impl UnwindSafe for LintReport
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
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more