pub struct ExtractionDiagnostic {
pub id: String,
pub code: String,
pub message: String,
pub evidence: Vec<SourceEvidence>,
}Expand description
Evidence-backed extraction problem that does not assert artifact invalidity.
Fields§
§id: StringStable diagnostic identity within the candidate.
code: StringStable extraction category.
message: StringHuman-readable extraction problem.
evidence: Vec<SourceEvidence>Exact evidence encountered by the detector.
Trait Implementations§
Source§impl Clone for ExtractionDiagnostic
impl Clone for ExtractionDiagnostic
Source§impl Debug for ExtractionDiagnostic
impl Debug for ExtractionDiagnostic
Source§impl<'de> Deserialize<'de> for ExtractionDiagnostic
impl<'de> Deserialize<'de> for ExtractionDiagnostic
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 ExtractionDiagnostic
Source§impl PartialEq for ExtractionDiagnostic
impl PartialEq for ExtractionDiagnostic
Source§impl Serialize for ExtractionDiagnostic
impl Serialize for ExtractionDiagnostic
impl StructuralPartialEq for ExtractionDiagnostic
Auto Trait Implementations§
impl Freeze for ExtractionDiagnostic
impl RefUnwindSafe for ExtractionDiagnostic
impl Send for ExtractionDiagnostic
impl Sync for ExtractionDiagnostic
impl Unpin for ExtractionDiagnostic
impl UnsafeUnpin for ExtractionDiagnostic
impl UnwindSafe for ExtractionDiagnostic
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.