Struct aws_sdk_s3::types::DeletedObject
source · #[non_exhaustive]pub struct DeletedObject {
pub key: Option<String>,
pub version_id: Option<String>,
pub delete_marker: Option<bool>,
pub delete_marker_version_id: Option<String>,
}
Expand description
Information about the deleted object.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.key: Option<String>
The name of the deleted object.
version_id: Option<String>
The version ID of the deleted object.
This functionality is not supported for directory buckets.
delete_marker: Option<bool>
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.
This functionality is not supported for directory buckets.
delete_marker_version_id: Option<String>
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
Implementations§
source§impl DeletedObject
impl DeletedObject
sourcepub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
The version ID of the deleted object.
This functionality is not supported for directory buckets.
sourcepub fn delete_marker(&self) -> Option<bool>
pub fn delete_marker(&self) -> Option<bool>
Indicates whether the specified object version that was permanently deleted was (true) or was not (false) a delete marker before deletion. In a simple DELETE, this header indicates whether (true) or not (false) the current version of the object is a delete marker.
This functionality is not supported for directory buckets.
sourcepub fn delete_marker_version_id(&self) -> Option<&str>
pub fn delete_marker_version_id(&self) -> Option<&str>
The version ID of the delete marker created as a result of the DELETE operation. If you delete a specific object version, the value returned by this header is the version ID of the object version deleted.
This functionality is not supported for directory buckets.
source§impl DeletedObject
impl DeletedObject
sourcepub fn builder() -> DeletedObjectBuilder
pub fn builder() -> DeletedObjectBuilder
Creates a new builder-style object to manufacture DeletedObject
.
Trait Implementations§
source§impl Clone for DeletedObject
impl Clone for DeletedObject
source§fn clone(&self) -> DeletedObject
fn clone(&self) -> DeletedObject
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeletedObject
impl Debug for DeletedObject
source§impl PartialEq for DeletedObject
impl PartialEq for DeletedObject
impl StructuralPartialEq for DeletedObject
Auto Trait Implementations§
impl Freeze for DeletedObject
impl RefUnwindSafe for DeletedObject
impl Send for DeletedObject
impl Sync for DeletedObject
impl Unpin for DeletedObject
impl UnwindSafe for DeletedObject
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)