pub struct SafeExportArgs {
pub out: PathBuf,
pub manifest: Option<PathBuf>,
pub json: bool,
pub db_path: PathBuf,
}Expand description
Per-verb argument set for doctor safe-export.
Fields§
§out: PathBufDestination path for the exported artifact.
manifest: Option<PathBuf>Optional manifest sidecar describing the exported artifact.
json: boolEmit machine-readable JSON output.
db_path: PathBufPath to the database file to export.
Trait Implementations§
Source§impl Args for SafeExportArgs
impl Args for SafeExportArgs
Source§fn augment_args<'b>(__clap_app: Command) -> Command
fn augment_args<'b>(__clap_app: Command) -> Command
Source§fn augment_args_for_update<'b>(__clap_app: Command) -> Command
fn augment_args_for_update<'b>(__clap_app: Command) -> Command
Append to
Command so it can instantiate self via
FromArgMatches::update_from_arg_matches_mut Read moreSource§impl Debug for SafeExportArgs
impl Debug for SafeExportArgs
Source§impl FromArgMatches for SafeExportArgs
impl FromArgMatches for SafeExportArgs
Source§fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
fn from_arg_matches(__clap_arg_matches: &ArgMatches) -> Result<Self, Error>
Source§fn from_arg_matches_mut(
__clap_arg_matches: &mut ArgMatches,
) -> Result<Self, Error>
fn from_arg_matches_mut( __clap_arg_matches: &mut ArgMatches, ) -> Result<Self, Error>
Source§fn update_from_arg_matches(
&mut self,
__clap_arg_matches: &ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches( &mut self, __clap_arg_matches: &ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Source§fn update_from_arg_matches_mut(
&mut self,
__clap_arg_matches: &mut ArgMatches,
) -> Result<(), Error>
fn update_from_arg_matches_mut( &mut self, __clap_arg_matches: &mut ArgMatches, ) -> Result<(), Error>
Assign values from
ArgMatches to self.Auto Trait Implementations§
impl Freeze for SafeExportArgs
impl RefUnwindSafe for SafeExportArgs
impl Send for SafeExportArgs
impl Sync for SafeExportArgs
impl Unpin for SafeExportArgs
impl UnsafeUnpin for SafeExportArgs
impl UnwindSafe for SafeExportArgs
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