pub struct OpCopy { /* private fields */ }Expand description
Args for copy operation.
Implementations§
Source§impl OpCopy
impl OpCopy
Sourcepub fn with_if_not_exists(self, if_not_exists: bool) -> Self
pub fn with_if_not_exists(self, if_not_exists: bool) -> Self
Set the if_not_exists flag for the operation.
When set to true, the copy operation will only proceed if the destination doesn’t already exist.
Sourcepub fn if_not_exists(&self) -> bool
pub fn if_not_exists(&self) -> bool
Get if_not_exists flag.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OpCopy
impl RefUnwindSafe for OpCopy
impl Send for OpCopy
impl Sync for OpCopy
impl Unpin for OpCopy
impl UnwindSafe for OpCopy
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