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.
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.
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.
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.
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.
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.
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
source§fn eq(&self, other: &DeletedObject) -> bool
fn eq(&self, other: &DeletedObject) -> bool
self
and other
values to be equal, and is used
by ==
.