pub struct DoctorOptions {
pub check_write: bool,
pub webdev_route: Option<String>,
}Expand description
The doctor’s options (the CLI’s --check-write / --webdev-route;
no other options exist by design).
Fields§
§check_write: boolProbe write permission via the harmless scan/projects rescan.
webdev_route: Option<String>Probe one WebDev route’s presence (/system/webdev/<NAME>).
Trait Implementations§
Source§impl Debug for DoctorOptions
impl Debug for DoctorOptions
Source§impl Default for DoctorOptions
impl Default for DoctorOptions
Source§fn default() -> DoctorOptions
fn default() -> DoctorOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DoctorOptions
impl RefUnwindSafe for DoctorOptions
impl Send for DoctorOptions
impl Sync for DoctorOptions
impl Unpin for DoctorOptions
impl UnsafeUnpin for DoctorOptions
impl UnwindSafe for DoctorOptions
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