pub(crate) struct DatabaseLintReport {
pub(crate) purpose_level: String,
pub(crate) shown: usize,
pub(crate) total: usize,
pub(crate) findings: Vec<HealthFinding>,
}Expand description
Typed SQLite-owned portion of one lint result.
Fields§
§purpose_level: StringPurpose strictness used to select blocking health categories.
shown: usizeBlocking findings returned within the bounded page.
total: usizeTotal matching health findings before category blocking policy.
findings: Vec<HealthFinding>Typed blocking health findings.
Implementations§
Source§impl DatabaseLintReport
impl DatabaseLintReport
Sourcefn render_text(&self) -> Result<String, CliError>
fn render_text(&self) -> Result<String, CliError>
Render the compatibility text from typed health findings.
Trait Implementations§
Source§impl Debug for DatabaseLintReport
impl Debug for DatabaseLintReport
impl Eq for DatabaseLintReport
Source§impl PartialEq for DatabaseLintReport
impl PartialEq for DatabaseLintReport
Source§fn eq(&self, other: &DatabaseLintReport) -> bool
fn eq(&self, other: &DatabaseLintReport) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for DatabaseLintReport
impl Serialize for DatabaseLintReport
impl StructuralPartialEq for DatabaseLintReport
Auto Trait Implementations§
impl Freeze for DatabaseLintReport
impl RefUnwindSafe for DatabaseLintReport
impl Send for DatabaseLintReport
impl Sync for DatabaseLintReport
impl Unpin for DatabaseLintReport
impl UnsafeUnpin for DatabaseLintReport
impl UnwindSafe for DatabaseLintReport
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