pub struct OpCopy { /* private fields */ }Expand description
Arguments for copy operation.
Implementations§
Source§impl OpCopy
impl OpCopy
Sourcepub fn from_options(
capability: &Capability,
options: CopyOptions,
) -> Result<Self>
pub fn from_options( capability: &Capability, options: CopyOptions, ) -> Result<Self>
Sourcepub fn if_not_exists(&self) -> bool
pub fn if_not_exists(&self) -> bool
Get if_not_exists flag.
Sourcepub fn if_none_match(&self) -> Option<&str>
pub fn if_none_match(&self) -> Option<&str>
Get the destination ETag non-match condition.
Sourcepub fn if_version_match(&self) -> Option<&str>
pub fn if_version_match(&self) -> Option<&str>
Get the current destination version match condition.
Sourcepub fn if_version_not_match(&self) -> Option<&str>
pub fn if_version_not_match(&self) -> Option<&str>
Get the current destination version non-match condition.
Sourcepub fn is_conditional(&self) -> bool
pub fn is_conditional(&self) -> bool
Returns whether at least one conditional option is set.
Value-bearing options are set when present. Boolean options are set only
when their value is true.
Sourcepub fn source_version(&self) -> Option<&str>
pub fn source_version(&self) -> Option<&str>
Get source version from the operation.
Sourcepub fn concurrent(&self) -> usize
pub fn concurrent(&self) -> usize
Get the concurrent tasks for the copy operation.
Sourcepub fn source_content_length_hint(&self) -> Option<u64>
pub fn source_content_length_hint(&self) -> Option<u64>
Get source content length hint from the copy operation.
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 UnsafeUnpin 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