pub struct DiagnosticObservation {
pub component: DiagnosticComponent,
pub scope: DiagnosticScope,
pub observed_at_utc: DateTime<Utc>,
pub basis: DiagnosticEvidenceBasis,
pub origin: Option<DiagnosticObservationOrigin>,
pub failure_category: Option<DiagnosticFailureCategory>,
pub next_action: Option<DiagnosticNextAction>,
}Fields§
§component: DiagnosticComponent§scope: DiagnosticScope§observed_at_utc: DateTime<Utc>Time evidence was obtained, or the decision not to check was recorded. Consumers must retain this time when presenting a saved report.
basis: DiagnosticEvidenceBasis§origin: Option<DiagnosticObservationOrigin>§failure_category: Option<DiagnosticFailureCategory>Closed adapter category, captured before private driver errors are flattened.
next_action: Option<DiagnosticNextAction>Trait Implementations§
Source§impl Clone for DiagnosticObservation
impl Clone for DiagnosticObservation
Source§fn clone(&self) -> DiagnosticObservation
fn clone(&self) -> DiagnosticObservation
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 DiagnosticObservation
impl Debug for DiagnosticObservation
Source§impl<'de> Deserialize<'de> for DiagnosticObservation
impl<'de> Deserialize<'de> for DiagnosticObservation
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
Source§impl PartialEq for DiagnosticObservation
impl PartialEq for DiagnosticObservation
Source§impl Serialize for DiagnosticObservation
impl Serialize for DiagnosticObservation
impl Eq for DiagnosticObservation
impl StructuralPartialEq for DiagnosticObservation
Auto Trait Implementations§
impl Freeze for DiagnosticObservation
impl RefUnwindSafe for DiagnosticObservation
impl Send for DiagnosticObservation
impl Sync for DiagnosticObservation
impl Unpin for DiagnosticObservation
impl UnsafeUnpin for DiagnosticObservation
impl UnwindSafe for DiagnosticObservation
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