pub struct LeanWorkerDoctorDiagnostic {
pub severity: LeanWorkerDoctorSeverity,
pub code: String,
pub message: String,
pub details: Option<Value>,
}Expand description
One structured capability health diagnostic.
Fields§
§severity: LeanWorkerDoctorSeverity§code: String§message: String§details: Option<Value>Trait Implementations§
Source§impl Clone for LeanWorkerDoctorDiagnostic
impl Clone for LeanWorkerDoctorDiagnostic
Source§fn clone(&self) -> LeanWorkerDoctorDiagnostic
fn clone(&self) -> LeanWorkerDoctorDiagnostic
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeanWorkerDoctorDiagnostic
impl Debug for LeanWorkerDoctorDiagnostic
Source§impl PartialEq for LeanWorkerDoctorDiagnostic
impl PartialEq for LeanWorkerDoctorDiagnostic
Source§fn eq(&self, other: &LeanWorkerDoctorDiagnostic) -> bool
fn eq(&self, other: &LeanWorkerDoctorDiagnostic) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for LeanWorkerDoctorDiagnostic
impl StructuralPartialEq for LeanWorkerDoctorDiagnostic
Auto Trait Implementations§
impl Freeze for LeanWorkerDoctorDiagnostic
impl RefUnwindSafe for LeanWorkerDoctorDiagnostic
impl Send for LeanWorkerDoctorDiagnostic
impl Sync for LeanWorkerDoctorDiagnostic
impl Unpin for LeanWorkerDoctorDiagnostic
impl UnsafeUnpin for LeanWorkerDoctorDiagnostic
impl UnwindSafe for LeanWorkerDoctorDiagnostic
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