pub struct SensorReportContext {
pub started_at: String,
pub ended_at: String,
pub duration_ms: u64,
pub capabilities: HashMap<String, CapabilityStatus>,
pub artifacts: Vec<Artifact>,
pub rule_metadata: HashMap<String, RuleMetadata>,
pub truncated_count: u32,
pub rules_total: usize,
}Expand description
Context for rendering a sensor report.
Fields§
§started_at: StringISO 8601 timestamp when the run started.
ended_at: StringISO 8601 timestamp when the run ended.
duration_ms: u64Duration in milliseconds.
capabilities: HashMap<String, CapabilityStatus>Capability status (e.g., git availability).
artifacts: Vec<Artifact>List of artifacts produced.
rule_metadata: HashMap<String, RuleMetadata>Rule metadata for help/url lookup.
truncated_count: u32Number of findings beyond max_findings that were dropped.
rules_total: usizeTotal number of rules evaluated.
Trait Implementations§
Source§impl Clone for SensorReportContext
impl Clone for SensorReportContext
Source§fn clone(&self) -> SensorReportContext
fn clone(&self) -> SensorReportContext
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensorReportContext
impl Debug for SensorReportContext
Source§impl Default for SensorReportContext
impl Default for SensorReportContext
Source§fn default() -> SensorReportContext
fn default() -> SensorReportContext
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SensorReportContext
impl RefUnwindSafe for SensorReportContext
impl Send for SensorReportContext
impl Sync for SensorReportContext
impl Unpin for SensorReportContext
impl UnsafeUnpin for SensorReportContext
impl UnwindSafe for SensorReportContext
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