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.
Sourcepub fn with_if_match(self, if_match: impl Into<String>) -> Self
pub fn with_if_match(self, if_match: impl Into<String>) -> Self
Set the if_match condition for the operation.
When set, the copy operation will only proceed if the existing destination object’s ETag matches the given value.
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