pub struct AnalysisProvenance {
pub category: AnalysisCategory,
pub rule_id: String,
pub confidence: u8,
pub evidence: Vec<NoteAddr>,
pub label: Option<String>,
}Expand description
One deterministic explanation attached to a source note address.
Fields§
§category: AnalysisCategory§rule_id: String§confidence: u8§evidence: Vec<NoteAddr>§label: Option<String>Canonical display label when the finding is a chord explanation.
Trait Implementations§
Source§impl Clone for AnalysisProvenance
impl Clone for AnalysisProvenance
Source§impl Debug for AnalysisProvenance
impl Debug for AnalysisProvenance
Source§impl<'de> Deserialize<'de> for AnalysisProvenance
impl<'de> Deserialize<'de> for AnalysisProvenance
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for AnalysisProvenance
Source§impl PartialEq for AnalysisProvenance
impl PartialEq for AnalysisProvenance
Source§impl Serialize for AnalysisProvenance
impl Serialize for AnalysisProvenance
impl StructuralPartialEq for AnalysisProvenance
Auto Trait Implementations§
impl Freeze for AnalysisProvenance
impl RefUnwindSafe for AnalysisProvenance
impl Send for AnalysisProvenance
impl Sync for AnalysisProvenance
impl Unpin for AnalysisProvenance
impl UnsafeUnpin for AnalysisProvenance
impl UnwindSafe for AnalysisProvenance
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