pub struct DeleteRequestOptions {
pub version_id: Option<String>,
pub bypass_governance: bool,
pub force_delete: bool,
}Expand description
Request-level options for object deletion.
Fields§
§version_id: Option<String>Exact object version to delete. None targets the current object state.
bypass_governance: boolExplicitly bypass Object Lock governance retention.
force_delete: boolAsk RustFS to permanently delete data instead of creating delete markers.
Trait Implementations§
Source§impl Clone for DeleteRequestOptions
impl Clone for DeleteRequestOptions
Source§fn clone(&self) -> DeleteRequestOptions
fn clone(&self) -> DeleteRequestOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DeleteRequestOptions
impl Debug for DeleteRequestOptions
Source§impl Default for DeleteRequestOptions
impl Default for DeleteRequestOptions
Source§fn default() -> DeleteRequestOptions
fn default() -> DeleteRequestOptions
Returns the “default value” for a type. Read more
impl Eq for DeleteRequestOptions
Source§impl PartialEq for DeleteRequestOptions
impl PartialEq for DeleteRequestOptions
impl StructuralPartialEq for DeleteRequestOptions
Auto Trait Implementations§
impl Freeze for DeleteRequestOptions
impl RefUnwindSafe for DeleteRequestOptions
impl Send for DeleteRequestOptions
impl Sync for DeleteRequestOptions
impl Unpin for DeleteRequestOptions
impl UnsafeUnpin for DeleteRequestOptions
impl UnwindSafe for DeleteRequestOptions
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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