pub struct RestoreRunOptions {Show 14 fields
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,
pub require_run_mode: Option<String>,
pub require_stopped_reason: Option<String>,
pub require_next_action: Option<String>,
pub require_executed_count: Option<usize>,
}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: bool§require_run_mode: Option<String>§require_stopped_reason: Option<String>§require_next_action: Option<String>§require_executed_count: Option<usize>Implementations§
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 · 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
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