pub struct Recommendation {
pub severity: String,
pub kind: String,
pub title: String,
pub detail: String,
pub evidence_ids: Vec<String>,
pub command: String,
pub filter: Option<String>,
}Fields§
§severity: String§kind: String§title: String§detail: String§evidence_ids: Vec<String>§command: String§filter: Option<String>Implementations§
Source§impl Recommendation
impl Recommendation
Sourcepub fn command_line(&self) -> String
pub fn command_line(&self) -> String
The reproducing command tail, e.g. errors --filter "host:api.x" or auth.
Trait Implementations§
Source§impl Clone for Recommendation
impl Clone for Recommendation
Source§fn clone(&self) -> Recommendation
fn clone(&self) -> Recommendation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 Recommendation
impl Debug for Recommendation
Auto Trait Implementations§
impl Freeze for Recommendation
impl RefUnwindSafe for Recommendation
impl Send for Recommendation
impl Sync for Recommendation
impl Unpin for Recommendation
impl UnsafeUnpin for Recommendation
impl UnwindSafe for Recommendation
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