pub struct DoctorFlags {
pub is_root: bool,
pub has_sudo: bool,
pub docker_present: bool,
pub active_setup_dir: bool,
pub full_env: bool,
pub minimal_env: bool,
pub docker_dir: bool,
pub backup_dir: bool,
}Expand description
Boolean readiness probes (flattened in JSON).
Fields§
§is_root: boolProcess is effective uid 0.
has_sudo: boolsudo is on PATH.
docker_present: booldocker is on PATH.
active_setup_dir: boolHostPaths::active_setup exists as a directory.
full_env: boolFull IoT-LAN env file is present.
minimal_env: boolMinimal setup env file is present.
docker_dir: boolDocker stacks directory exists.
backup_dir: boolBackup root directory exists.
Trait Implementations§
Source§impl Clone for DoctorFlags
impl Clone for DoctorFlags
Source§fn clone(&self) -> DoctorFlags
fn clone(&self) -> DoctorFlags
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 DoctorFlags
impl Debug for DoctorFlags
Source§impl<'de> Deserialize<'de> for DoctorFlags
impl<'de> Deserialize<'de> for DoctorFlags
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DoctorFlags
impl RefUnwindSafe for DoctorFlags
impl Send for DoctorFlags
impl Sync for DoctorFlags
impl Unpin for DoctorFlags
impl UnsafeUnpin for DoctorFlags
impl UnwindSafe for DoctorFlags
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