pub struct DiagnosticReport {
pub id: String,
pub diagnostic_type: DiagnosticType,
pub timestamp: SystemTime,
pub severity: DiagnosticSeverity,
pub findings: Vec<DiagnosticFinding>,
pub recommendations: Vec<DiagnosticRecommendation>,
pub metadata: HashMap<String, String>,
}Expand description
Diagnostic report
Fields§
§id: StringReport identifier
diagnostic_type: DiagnosticTypeDiagnostic type
timestamp: SystemTimeReport timestamp
severity: DiagnosticSeverityOverall severity
findings: Vec<DiagnosticFinding>Findings
recommendations: Vec<DiagnosticRecommendation>Recommended actions
metadata: HashMap<String, String>Report metadata
Trait Implementations§
Source§impl Debug for DiagnosticReport
impl Debug for DiagnosticReport
Source§impl<'de> Deserialize<'de> for DiagnosticReport
impl<'de> Deserialize<'de> for DiagnosticReport
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
Auto Trait Implementations§
impl Freeze for DiagnosticReport
impl RefUnwindSafe for DiagnosticReport
impl Send for DiagnosticReport
impl Sync for DiagnosticReport
impl Unpin for DiagnosticReport
impl UnwindSafe for DiagnosticReport
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