pub struct OpDelete { /* private fields */ }Expand description
Arguments for delete operation.
The path must be normalized.
Implementations§
Source§impl OpDelete
impl OpDelete
Sourcepub fn from_options(
capability: &Capability,
options: DeleteOptions,
) -> Result<Self>
pub fn from_options( capability: &Capability, options: DeleteOptions, ) -> Result<Self>
Source§impl OpDelete
impl OpDelete
Sourcepub fn if_match(&self) -> Option<&str>
pub fn if_match(&self) -> Option<&str>
Return the ETag that the object must match before deletion.
Sourcepub fn if_none_match(&self) -> Option<&str>
pub fn if_none_match(&self) -> Option<&str>
Return the ETag that the object must not match before deletion.
Sourcepub fn if_version_match(&self) -> Option<&str>
pub fn if_version_match(&self) -> Option<&str>
Return the version that the current object must match before deletion.
Sourcepub fn if_version_not_match(&self) -> Option<&str>
pub fn if_version_not_match(&self) -> Option<&str>
Return the version that the current object must not match before deletion.
Sourcepub fn is_conditional(&self) -> bool
pub fn is_conditional(&self) -> bool
Returns whether at least one value-bearing conditional option is set.
Trait Implementations§
impl Eq for OpDelete
Source§impl From<OpDelete> for PresignOperation
impl From<OpDelete> for PresignOperation
impl StructuralPartialEq for OpDelete
Auto Trait Implementations§
impl Freeze for OpDelete
impl RefUnwindSafe for OpDelete
impl Send for OpDelete
impl Sync for OpDelete
impl Unpin for OpDelete
impl UnsafeUnpin for OpDelete
impl UnwindSafe for OpDelete
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.