pub struct RestoreApplyCommandOptions {
pub journal: PathBuf,
pub dfx: String,
pub network: Option<String>,
pub out: Option<PathBuf>,
pub require_command: bool,
}Expand description
RestoreApplyCommandOptions
Fields§
§journal: PathBuf§dfx: String§network: Option<String>§out: Option<PathBuf>§require_command: boolImplementations§
Source§impl RestoreApplyCommandOptions
impl RestoreApplyCommandOptions
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 apply-command options from CLI arguments.
Trait Implementations§
Source§impl Clone for RestoreApplyCommandOptions
impl Clone for RestoreApplyCommandOptions
Source§fn clone(&self) -> RestoreApplyCommandOptions
fn clone(&self) -> RestoreApplyCommandOptions
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 RestoreApplyCommandOptions
impl Debug for RestoreApplyCommandOptions
impl Eq for RestoreApplyCommandOptions
impl StructuralPartialEq for RestoreApplyCommandOptions
Auto Trait Implementations§
impl Freeze for RestoreApplyCommandOptions
impl RefUnwindSafe for RestoreApplyCommandOptions
impl Send for RestoreApplyCommandOptions
impl Sync for RestoreApplyCommandOptions
impl Unpin for RestoreApplyCommandOptions
impl UnsafeUnpin for RestoreApplyCommandOptions
impl UnwindSafe for RestoreApplyCommandOptions
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