pub struct BackupPreflightOptions {
pub dir: PathBuf,
pub out_dir: PathBuf,
pub mapping: Option<PathBuf>,
pub require_restore_ready: bool,
}Expand description
BackupPreflightOptions
Fields§
§dir: PathBuf§out_dir: PathBuf§mapping: Option<PathBuf>§require_restore_ready: boolImplementations§
Source§impl BackupPreflightOptions
impl BackupPreflightOptions
Sourcepub fn parse<I>(args: I) -> Result<Self, BackupCommandError>where
I: IntoIterator<Item = OsString>,
pub fn parse<I>(args: I) -> Result<Self, BackupCommandError>where
I: IntoIterator<Item = OsString>,
Parse backup preflight options from CLI arguments.
Trait Implementations§
Source§impl Clone for BackupPreflightOptions
impl Clone for BackupPreflightOptions
Source§fn clone(&self) -> BackupPreflightOptions
fn clone(&self) -> BackupPreflightOptions
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 BackupPreflightOptions
impl Debug for BackupPreflightOptions
Source§impl PartialEq for BackupPreflightOptions
impl PartialEq for BackupPreflightOptions
impl Eq for BackupPreflightOptions
impl StructuralPartialEq for BackupPreflightOptions
Auto Trait Implementations§
impl Freeze for BackupPreflightOptions
impl RefUnwindSafe for BackupPreflightOptions
impl Send for BackupPreflightOptions
impl Sync for BackupPreflightOptions
impl Unpin for BackupPreflightOptions
impl UnsafeUnpin for BackupPreflightOptions
impl UnwindSafe for BackupPreflightOptions
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