pub struct DoctorOpts {
pub tool_config_path: PathBuf,
pub config_path: Option<PathBuf>,
pub manifest_path: PathBuf,
pub repo_path: Option<PathBuf>,
pub detected_manager: Option<String>,
}Expand description
Inputs to doctor.
Fields§
§tool_config_path: PathBufPath to ${XDG_CONFIG}/krypt/config.toml.
config_path: Option<PathBuf>Override the path to .krypt.toml. Derived from tool config when absent.
manifest_path: PathBufPath to the deployment manifest JSON.
repo_path: Option<PathBuf>Override the repo path. Derived from tool config when absent.
detected_manager: Option<String>Detected package manager name, supplied by the CLI layer (krypt-pkg).
None signals that detection was skipped or nothing was found.
Auto Trait Implementations§
impl Freeze for DoctorOpts
impl RefUnwindSafe for DoctorOpts
impl Send for DoctorOpts
impl Sync for DoctorOpts
impl Unpin for DoctorOpts
impl UnsafeUnpin for DoctorOpts
impl UnwindSafe for DoctorOpts
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more