#[non_exhaustive]pub struct ListBucketsOutput {
pub buckets: Option<Vec<Bucket>>,
pub owner: Option<Owner>,
pub continuation_token: Option<String>,
pub prefix: Option<String>,
/* 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.buckets: Option<Vec<Bucket>>
The list of buckets owned by the requester.
owner: Option<Owner>
The owner of the buckets listed.
continuation_token: Option<String>
ContinuationToken
is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets
request to Amazon S3 can be continued with this ContinuationToken
. ContinuationToken
is obfuscated and is not a real bucket.
prefix: Option<String>
If Prefix
was sent with the request, it is included in the response.
All bucket names in the response begin with the specified bucket name prefix.
Implementations§
source§impl ListBucketsOutput
impl ListBucketsOutput
sourcepub fn buckets(&self) -> &[Bucket]
pub fn buckets(&self) -> &[Bucket]
The list of buckets owned by the requester.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .buckets.is_none()
.
sourcepub fn continuation_token(&self) -> Option<&str>
pub fn continuation_token(&self) -> Option<&str>
ContinuationToken
is included in the response when there are more buckets that can be listed with pagination. The next ListBuckets
request to Amazon S3 can be continued with this ContinuationToken
. ContinuationToken
is obfuscated and is not a real bucket.
source§impl ListBucketsOutput
impl ListBucketsOutput
sourcepub fn builder() -> ListBucketsOutputBuilder
pub fn builder() -> ListBucketsOutputBuilder
Creates a new builder-style object to manufacture ListBucketsOutput
.
Trait Implementations§
source§impl Clone for ListBucketsOutput
impl Clone for ListBucketsOutput
source§fn clone(&self) -> ListBucketsOutput
fn clone(&self) -> ListBucketsOutput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListBucketsOutput
impl Debug for ListBucketsOutput
source§impl PartialEq for ListBucketsOutput
impl PartialEq for ListBucketsOutput
source§impl RequestId for ListBucketsOutput
impl RequestId for ListBucketsOutput
source§fn request_id(&self) -> Option<&str>
fn request_id(&self) -> Option<&str>
None
if the service could not be reached.source§impl RequestIdExt for ListBucketsOutput
impl RequestIdExt for ListBucketsOutput
source§fn extended_request_id(&self) -> Option<&str>
fn extended_request_id(&self) -> Option<&str>
impl StructuralPartialEq for ListBucketsOutput
Auto Trait Implementations§
impl Freeze for ListBucketsOutput
impl RefUnwindSafe for ListBucketsOutput
impl Send for ListBucketsOutput
impl Sync for ListBucketsOutput
impl Unpin for ListBucketsOutput
impl UnwindSafe for ListBucketsOutput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more