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