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
Auto 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