pub struct RestorePlanOptions {
pub manifest: Option<PathBuf>,
pub backup_dir: Option<PathBuf>,
pub mapping: Option<PathBuf>,
pub out: Option<PathBuf>,
pub require_verified: bool,
}Expand description
RestorePlanOptions
Fields§
§manifest: Option<PathBuf>§backup_dir: Option<PathBuf>§mapping: Option<PathBuf>§out: Option<PathBuf>§require_verified: boolImplementations§
Source§impl RestorePlanOptions
impl RestorePlanOptions
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 planning options from CLI arguments.
Trait Implementations§
Source§impl Clone for RestorePlanOptions
impl Clone for RestorePlanOptions
Source§fn clone(&self) -> RestorePlanOptions
fn clone(&self) -> RestorePlanOptions
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 RestorePlanOptions
impl Debug for RestorePlanOptions
Source§impl PartialEq for RestorePlanOptions
impl PartialEq for RestorePlanOptions
impl Eq for RestorePlanOptions
impl StructuralPartialEq for RestorePlanOptions
Auto Trait Implementations§
impl Freeze for RestorePlanOptions
impl RefUnwindSafe for RestorePlanOptions
impl Send for RestorePlanOptions
impl Sync for RestorePlanOptions
impl Unpin for RestorePlanOptions
impl UnsafeUnpin for RestorePlanOptions
impl UnwindSafe for RestorePlanOptions
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