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 moreSource§impl Debug for TriageOutput
impl Debug for TriageOutput
Auto Trait Implementations§
impl Freeze for TriageOutput
impl !RefUnwindSafe for TriageOutput
impl Send for TriageOutput
impl !Sync for TriageOutput
impl Unpin for TriageOutput
impl UnwindSafe for TriageOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)