Struct fuchsia_triage::TriageOutput
source · pub struct TriageOutput { /* private fields */ }
Expand description
Provides the [metric_state] context to evaluate Actions and results of the [actions].
Implementations§
source§impl TriageOutput
impl TriageOutput
sourcepub fn new(namespaces: Vec<String>) -> TriageOutput
pub fn new(namespaces: Vec<String>) -> TriageOutput
Instantiates a TriageOutput populated with Maps corresponding to the provided namespaces.
sourcepub fn add_action(&mut self, namespace: String, name: String, action: Action)
pub fn add_action(&mut self, namespace: String, name: String, action: Action)
Add an Action to processing during TriageOutput
sourcepub fn has_reportable_issues(&self) -> bool
pub fn has_reportable_issues(&self) -> bool
Returns true if any triggered [Warning]s or [Error]s are generated while building the TriageOutput, and false otherwise.
Trait Implementations§
source§impl Clone for TriageOutput
impl Clone for TriageOutput
source§fn clone(&self) -> TriageOutput
fn clone(&self) -> TriageOutput
Returns a copy 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 more