pub struct RestoreApplyOptions {
pub plan: PathBuf,
pub status: Option<PathBuf>,
pub backup_dir: Option<PathBuf>,
pub out: Option<PathBuf>,
pub journal_out: Option<PathBuf>,
pub dry_run: bool,
}Expand description
RestoreApplyOptions
Fields§
§plan: PathBuf§status: Option<PathBuf>§backup_dir: Option<PathBuf>§out: Option<PathBuf>§journal_out: Option<PathBuf>§dry_run: boolImplementations§
Source§impl RestoreApplyOptions
impl RestoreApplyOptions
Sourcepub fn parse<I>(args: I) -> Result<Self, RestoreCommandError>where
I: IntoIterator<Item = OsString>,
pub fn parse<I>(args: I) -> Result<Self, RestoreCommandError>where
I: IntoIterator<Item = OsString>,
Parse restore apply options from CLI arguments.
Trait Implementations§
Source§impl Clone for RestoreApplyOptions
impl Clone for RestoreApplyOptions
Source§fn clone(&self) -> RestoreApplyOptions
fn clone(&self) -> RestoreApplyOptions
Returns a duplicate of the value. Read more
1.0.0 · 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 RestoreApplyOptions
impl Debug for RestoreApplyOptions
Source§impl PartialEq for RestoreApplyOptions
impl PartialEq for RestoreApplyOptions
impl Eq for RestoreApplyOptions
impl StructuralPartialEq for RestoreApplyOptions
Auto Trait Implementations§
impl Freeze for RestoreApplyOptions
impl RefUnwindSafe for RestoreApplyOptions
impl Send for RestoreApplyOptions
impl Sync for RestoreApplyOptions
impl Unpin for RestoreApplyOptions
impl UnsafeUnpin for RestoreApplyOptions
impl UnwindSafe for RestoreApplyOptions
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