pub struct DiagnosisResult {
pub error_code: String,
pub description: String,
pub severity: DiagnosisSeverity,
}Expand description
A single diagnostic entry emitted by the doctor scan pipeline.
Fields§
§error_code: StringStable machine-readable code for the diagnostic.
description: StringHuman-readable description of the problem.
severity: DiagnosisSeverityDiagnostic severity.
Trait Implementations§
Source§impl Clone for DiagnosisResult
impl Clone for DiagnosisResult
Source§fn clone(&self) -> DiagnosisResult
fn clone(&self) -> DiagnosisResult
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 moreSource§impl Debug for DiagnosisResult
impl Debug for DiagnosisResult
Source§impl PartialEq for DiagnosisResult
impl PartialEq for DiagnosisResult
Source§impl Serialize for DiagnosisResult
impl Serialize for DiagnosisResult
impl Eq for DiagnosisResult
impl StructuralPartialEq for DiagnosisResult
Auto Trait Implementations§
impl Freeze for DiagnosisResult
impl RefUnwindSafe for DiagnosisResult
impl Send for DiagnosisResult
impl Sync for DiagnosisResult
impl Unpin for DiagnosisResult
impl UnwindSafe for DiagnosisResult
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