Struct bonsaidb::keystorage::s3::aws_sdk_s3::operation::delete_object::DeleteObjectOutput
pub struct DeleteObjectOutput {
pub delete_marker: bool,
pub version_id: Option<String>,
pub request_charged: Option<RequestCharged>,
/* private fields */
}
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.delete_marker: 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.
version_id: Option<String>
Returns the version ID of the delete marker created as a result of the DELETE operation.
request_charged: Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
Implementations§
§impl DeleteObjectOutput
impl DeleteObjectOutput
pub fn delete_marker(&self) -> bool
pub fn delete_marker(&self) -> 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.
pub fn version_id(&self) -> Option<&str>
pub fn version_id(&self) -> Option<&str>
Returns the version ID of the delete marker created as a result of the DELETE operation.
pub fn request_charged(&self) -> Option<&RequestCharged>
pub fn request_charged(&self) -> Option<&RequestCharged>
If present, indicates that the requester was successfully charged for the request.
§impl DeleteObjectOutput
impl DeleteObjectOutput
pub fn builder() -> DeleteObjectOutputBuilder
pub fn builder() -> DeleteObjectOutputBuilder
Creates a new builder-style object to manufacture DeleteObjectOutput
.
Trait Implementations§
§impl Clone for DeleteObjectOutput
impl Clone for DeleteObjectOutput
§fn clone(&self) -> DeleteObjectOutput
fn clone(&self) -> DeleteObjectOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more§impl Debug for DeleteObjectOutput
impl Debug for DeleteObjectOutput
§impl PartialEq<DeleteObjectOutput> for DeleteObjectOutput
impl PartialEq<DeleteObjectOutput> for DeleteObjectOutput
§fn eq(&self, other: &DeleteObjectOutput) -> bool
fn eq(&self, other: &DeleteObjectOutput) -> bool
self
and other
values to be equal, and is used
by ==
.§impl RequestId for DeleteObjectOutput
impl RequestId for DeleteObjectOutput
§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.