pub struct DoctorCodeDef {
pub code: &'static str,
pub title: &'static str,
pub description: &'static str,
}Expand description
Definition of one fz error code.
Fields§
§code: &'static strThe stable kebab-case code, exactly as fz doctor --json emits it.
title: &'static strShort, stable human title.
description: &'static strOne-line description for consumers; not part of the JSON output.
Trait Implementations§
Source§impl Clone for DoctorCodeDef
impl Clone for DoctorCodeDef
impl Copy for DoctorCodeDef
Auto Trait Implementations§
impl Freeze for DoctorCodeDef
impl RefUnwindSafe for DoctorCodeDef
impl Send for DoctorCodeDef
impl Sync for DoctorCodeDef
impl Unpin for DoctorCodeDef
impl UnsafeUnpin for DoctorCodeDef
impl UnwindSafe for DoctorCodeDef
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