pub struct InstallDefaultsReport {
pub activated: Vec<String>,
pub already_enabled: Vec<String>,
pub missing: Vec<String>,
}Expand description
Outcome of the install-defaults run; surfaced both to the JSON envelope and to the human summary line.
Fields§
§activated: Vec<String>Rule ids that flipped from enabled = 0 to enabled = 1.
already_enabled: Vec<String>Rule ids that were already enabled at the start.
missing: Vec<String>Rule ids that were not present in the DB (migration skipped or row hand-deleted). Surfaced so the operator can investigate.
Trait Implementations§
Source§impl Debug for InstallDefaultsReport
impl Debug for InstallDefaultsReport
Source§impl Default for InstallDefaultsReport
impl Default for InstallDefaultsReport
Source§fn default() -> InstallDefaultsReport
fn default() -> InstallDefaultsReport
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for InstallDefaultsReport
impl RefUnwindSafe for InstallDefaultsReport
impl Send for InstallDefaultsReport
impl Sync for InstallDefaultsReport
impl Unpin for InstallDefaultsReport
impl UnsafeUnpin for InstallDefaultsReport
impl UnwindSafe for InstallDefaultsReport
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<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§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