pub struct DoctorReport {
pub checks: Vec<DoctorCheck>,
pub ok: bool,
}Expand description
The report doctor renders.
Fields§
§checks: Vec<DoctorCheck>§ok: boolImplementations§
Source§impl DoctorReport
impl DoctorReport
Sourcepub fn from_checks(checks: Vec<DoctorCheck>) -> DoctorReport
pub fn from_checks(checks: Vec<DoctorCheck>) -> DoctorReport
Build a report from its checks, deriving ok from them.
This is the single place ok is derived, so a check with a misspelled
status cannot silently report a broken stack as healthy.
Trait Implementations§
Source§impl Clone for DoctorReport
impl Clone for DoctorReport
Source§fn clone(&self) -> DoctorReport
fn clone(&self) -> DoctorReport
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 DoctorReport
impl Debug for DoctorReport
Source§impl PartialEq for DoctorReport
impl PartialEq for DoctorReport
Source§impl Serialize for DoctorReport
impl Serialize for DoctorReport
impl StructuralPartialEq for DoctorReport
Auto Trait Implementations§
impl Freeze for DoctorReport
impl RefUnwindSafe for DoctorReport
impl Send for DoctorReport
impl Sync for DoctorReport
impl Unpin for DoctorReport
impl UnsafeUnpin for DoctorReport
impl UnwindSafe for DoctorReport
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