pub struct DoctorCheck {
pub id: String,
pub status: String,
pub detail: String,
pub fix: Option<String>,
}Expand description
One DoctorCheck = one verdict on one health dimension.
Fields§
§id: StringShort stable identifier (daemon, relay, pair_rejections, …).
Stable across versions for tooling consumption.
status: StringPASS / WARN / FAIL.
detail: StringOne-line human summary.
fix: Option<String>Optional remediation hint shown after the failing line.
Trait Implementations§
Source§impl Clone for DoctorCheck
impl Clone for DoctorCheck
Source§fn clone(&self) -> DoctorCheck
fn clone(&self) -> DoctorCheck
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 DoctorCheck
impl Debug for DoctorCheck
Auto Trait Implementations§
impl Freeze for DoctorCheck
impl RefUnwindSafe for DoctorCheck
impl Send for DoctorCheck
impl Sync for DoctorCheck
impl Unpin for DoctorCheck
impl UnsafeUnpin for DoctorCheck
impl UnwindSafe for DoctorCheck
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