pub struct RestoreRunOptions {
pub journal: PathBuf,
pub dfx: String,
pub network: Option<String>,
pub out: Option<PathBuf>,
pub dry_run: bool,
pub execute: bool,
pub unclaim_pending: bool,
pub max_steps: Option<usize>,
pub require_complete: bool,
pub require_no_attention: bool,
}Expand description
RestoreRunOptions
Fields§
§journal: PathBuf§dfx: String§network: Option<String>§out: Option<PathBuf>§dry_run: bool§execute: bool§unclaim_pending: bool§max_steps: Option<usize>§require_complete: bool§require_no_attention: boolImplementations§
Source§impl RestoreRunOptions
impl RestoreRunOptions
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 run options from CLI arguments.
Trait Implementations§
Source§impl Clone for RestoreRunOptions
impl Clone for RestoreRunOptions
Source§fn clone(&self) -> RestoreRunOptions
fn clone(&self) -> RestoreRunOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RestoreRunOptions
impl Debug for RestoreRunOptions
Source§impl PartialEq for RestoreRunOptions
impl PartialEq for RestoreRunOptions
Source§fn eq(&self, other: &RestoreRunOptions) -> bool
fn eq(&self, other: &RestoreRunOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RestoreRunOptions
impl StructuralPartialEq for RestoreRunOptions
Auto Trait Implementations§
impl Freeze for RestoreRunOptions
impl RefUnwindSafe for RestoreRunOptions
impl Send for RestoreRunOptions
impl Sync for RestoreRunOptions
impl Unpin for RestoreRunOptions
impl UnsafeUnpin for RestoreRunOptions
impl UnwindSafe for RestoreRunOptions
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