pub struct HealthActionsMeta {
pub suppression_hints_omitted: bool,
pub reason: String,
pub scope: String,
}Expand description
Auditable breadcrumb recording when health-finding suppress-line
action hints were omitted from the report.
Set at construction time on HealthReport::actions_meta (and on
each HealthGroup::actions_meta
when grouped) by the report builder, derived from the active
HealthActionContext. Lets consumers see “where did the
suppress-line hints go?” without having to grep the config or CLI
history.
Stable reason codes:
baseline-active: a baseline is active and inline ignores would become dead annotations once the baseline regenerates.config-disabled:health.suggestInlineSuppressionisfalse.unspecified: the caller did not record a reason.
Fields§
§suppression_hints_omitted: boolAlways true when the breadcrumb is emitted. Absent from the wire when
no suppression occurred.
reason: StringStable code describing why the suppression occurred.
scope: StringScope of the omission. Always "health-findings" today.
Trait Implementations§
Source§impl Clone for HealthActionsMeta
impl Clone for HealthActionsMeta
Source§impl Debug for HealthActionsMeta
impl Debug for HealthActionsMeta
Source§impl<'de> Deserialize<'de> for HealthActionsMeta
impl<'de> Deserialize<'de> for HealthActionsMeta
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HealthActionsMeta
impl RefUnwindSafe for HealthActionsMeta
impl Send for HealthActionsMeta
impl Sync for HealthActionsMeta
impl Unpin for HealthActionsMeta
impl UnsafeUnpin for HealthActionsMeta
impl UnwindSafe for HealthActionsMeta
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