pub struct DiagnosticResult {
pub check_name: String,
pub status: String,
pub message: Option<String>,
pub details: Option<Value>,
pub recommendations: Option<Vec<String>>,
pub extra: Value,
}
Expand description
Diagnostic result
Fields§
§check_name: String
Name of the diagnostic check performed
status: String
Status of the check (‘pass’, ‘warning’, ‘fail’)
message: Option<String>
Human-readable message describing the result
details: Option<Value>
Additional details about the check result
recommendations: Option<Vec<String>>
Recommended actions to resolve any issues found
extra: Value
Trait Implementations§
Source§impl Clone for DiagnosticResult
impl Clone for DiagnosticResult
Source§fn clone(&self) -> DiagnosticResult
fn clone(&self) -> DiagnosticResult
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 DiagnosticResult
impl Debug for DiagnosticResult
Source§impl<'de> Deserialize<'de> for DiagnosticResult
impl<'de> Deserialize<'de> for DiagnosticResult
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 DiagnosticResult
impl RefUnwindSafe for DiagnosticResult
impl Send for DiagnosticResult
impl Sync for DiagnosticResult
impl Unpin for DiagnosticResult
impl UnwindSafe for DiagnosticResult
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