pub struct ConfidenceExplanation {
pub level: ConfidenceLevel,
pub reasons: Vec<String>,
pub suggestions: Vec<String>,
}Expand description
Reasons explaining the confidence level
Fields§
§level: ConfidenceLevel§reasons: Vec<String>§suggestions: Vec<String>Implementations§
Source§impl ConfidenceExplanation
impl ConfidenceExplanation
Sourcepub fn from_analysis(analysis: &ImpactAnalysis) -> Self
pub fn from_analysis(analysis: &ImpactAnalysis) -> Self
Compute confidence from an impact analysis
Trait Implementations§
Source§impl Clone for ConfidenceExplanation
impl Clone for ConfidenceExplanation
Source§fn clone(&self) -> ConfidenceExplanation
fn clone(&self) -> ConfidenceExplanation
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for ConfidenceExplanation
impl RefUnwindSafe for ConfidenceExplanation
impl Send for ConfidenceExplanation
impl Sync for ConfidenceExplanation
impl Unpin for ConfidenceExplanation
impl UnwindSafe for ConfidenceExplanation
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