pub struct RestoreApplyMarkOptions {
pub journal: PathBuf,
pub sequence: usize,
pub state: RestoreApplyMarkState,
pub reason: Option<String>,
pub updated_at: Option<String>,
pub out: Option<PathBuf>,
pub require_pending: bool,
}Expand description
RestoreApplyMarkOptions
Fields§
§journal: PathBuf§sequence: usize§state: RestoreApplyMarkState§reason: Option<String>§updated_at: Option<String>§out: Option<PathBuf>§require_pending: boolImplementations§
Source§impl RestoreApplyMarkOptions
impl RestoreApplyMarkOptions
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-mark options from CLI arguments.
Trait Implementations§
Source§impl Clone for RestoreApplyMarkOptions
impl Clone for RestoreApplyMarkOptions
Source§fn clone(&self) -> RestoreApplyMarkOptions
fn clone(&self) -> RestoreApplyMarkOptions
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 RestoreApplyMarkOptions
impl Debug for RestoreApplyMarkOptions
Source§impl PartialEq for RestoreApplyMarkOptions
impl PartialEq for RestoreApplyMarkOptions
impl Eq for RestoreApplyMarkOptions
impl StructuralPartialEq for RestoreApplyMarkOptions
Auto Trait Implementations§
impl Freeze for RestoreApplyMarkOptions
impl RefUnwindSafe for RestoreApplyMarkOptions
impl Send for RestoreApplyMarkOptions
impl Sync for RestoreApplyMarkOptions
impl Unpin for RestoreApplyMarkOptions
impl UnsafeUnpin for RestoreApplyMarkOptions
impl UnwindSafe for RestoreApplyMarkOptions
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