Struct aws_sdk_s3::operation::delete_objects::DeleteObjectsOutput
source · #[non_exhaustive]pub struct DeleteObjectsOutput {
pub deleted: Option<Vec<DeletedObject>>,
pub request_charged: Option<RequestCharged>,
pub errors: Option<Vec<Error>>,
/* 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.deleted: Option<Vec<DeletedObject>>
Container element for a successful delete. It identifies the object that was successfully deleted.
request_charged: Option<RequestCharged>
If present, indicates that the requester was successfully charged for the request.
This functionality is not supported for directory buckets.
errors: Option<Vec<Error>>
Container for a failed delete action that describes the object that Amazon S3 attempted to delete and the error it encountered.
Implementations§
source§impl DeleteObjectsOutput
impl DeleteObjectsOutput
sourcepub fn deleted(&self) -> &[DeletedObject]
pub fn deleted(&self) -> &[DeletedObject]
Container element for a successful delete. It identifies the object that was successfully deleted.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .deleted.is_none()
.
sourcepub 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.
This functionality is not supported for directory buckets.
source§impl DeleteObjectsOutput
impl DeleteObjectsOutput
sourcepub fn builder() -> DeleteObjectsOutputBuilder
pub fn builder() -> DeleteObjectsOutputBuilder
Creates a new builder-style object to manufacture DeleteObjectsOutput
.
Trait Implementations§
source§impl Clone for DeleteObjectsOutput
impl Clone for DeleteObjectsOutput
source§fn clone(&self) -> DeleteObjectsOutput
fn clone(&self) -> DeleteObjectsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DeleteObjectsOutput
impl Debug for DeleteObjectsOutput
source§impl PartialEq for DeleteObjectsOutput
impl PartialEq for DeleteObjectsOutput
source§fn eq(&self, other: &DeleteObjectsOutput) -> bool
fn eq(&self, other: &DeleteObjectsOutput) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl RequestId for DeleteObjectsOutput
impl RequestId for DeleteObjectsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.