pub struct OpRestore { /* private fields */ }Expand description
Arguments for restore operation.
Implementations§
Source§impl OpRestore
impl OpRestore
Sourcepub fn if_not_exists(&self) -> bool
pub fn if_not_exists(&self) -> bool
Return whether the restore should fail if the path currently exists.
Sourcepub fn is_conditional(&self) -> bool
pub fn is_conditional(&self) -> bool
Returns whether the boolean conditional option is set to true.
Trait Implementations§
Source§impl From<RestoreOptions> for OpRestore
impl From<RestoreOptions> for OpRestore
Source§fn from(value: RestoreOptions) -> Self
fn from(value: RestoreOptions) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OpRestore
impl RefUnwindSafe for OpRestore
impl Send for OpRestore
impl Sync for OpRestore
impl Unpin for OpRestore
impl UnsafeUnpin for OpRestore
impl UnwindSafe for OpRestore
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