pub struct ConfigDoctorFinding {
pub severity: DoctorSeverity,
pub message: String,
}Expand description
One doctor finding. message is rendered verbatim; the
dispatcher does not prepend severity or reformat text, so
the adapter can choose its own phrasing (“token: set in
keychain”, “config file missing — run zero init”, etc.)
without the dispatcher needing to know the domain.
Fields§
§severity: DoctorSeverity§message: StringImplementations§
Trait Implementations§
Source§impl Clone for ConfigDoctorFinding
impl Clone for ConfigDoctorFinding
Source§fn clone(&self) -> ConfigDoctorFinding
fn clone(&self) -> ConfigDoctorFinding
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 ConfigDoctorFinding
impl Debug for ConfigDoctorFinding
Source§impl PartialEq for ConfigDoctorFinding
impl PartialEq for ConfigDoctorFinding
impl Eq for ConfigDoctorFinding
impl StructuralPartialEq for ConfigDoctorFinding
Auto Trait Implementations§
impl Freeze for ConfigDoctorFinding
impl RefUnwindSafe for ConfigDoctorFinding
impl Send for ConfigDoctorFinding
impl Sync for ConfigDoctorFinding
impl Unpin for ConfigDoctorFinding
impl UnsafeUnpin for ConfigDoctorFinding
impl UnwindSafe for ConfigDoctorFinding
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