pub struct SafetyAnalysis {
pub level: SafetyLevel,
pub reasons: Vec<String>,
pub suggestions: Vec<String>,
}Expand description
Result of analyzing a command
Fields§
§level: SafetyLevel§reasons: Vec<String>§suggestions: Vec<String>Implementations§
Trait Implementations§
Source§impl Clone for SafetyAnalysis
impl Clone for SafetyAnalysis
Source§fn clone(&self) -> SafetyAnalysis
fn clone(&self) -> SafetyAnalysis
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 moreAuto Trait Implementations§
impl Freeze for SafetyAnalysis
impl RefUnwindSafe for SafetyAnalysis
impl Send for SafetyAnalysis
impl Sync for SafetyAnalysis
impl Unpin for SafetyAnalysis
impl UnsafeUnpin for SafetyAnalysis
impl UnwindSafe for SafetyAnalysis
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