Struct aws_sdk_s3control::types::RegionalBucket
source · #[non_exhaustive]pub struct RegionalBucket {
pub bucket: String,
pub bucket_arn: Option<String>,
pub public_access_block_enabled: bool,
pub creation_date: DateTime,
pub outpost_id: Option<String>,
}Expand description
The container for the regional bucket.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bucket: String§
bucket_arn: Option<String>The Amazon Resource Name (ARN) for the regional bucket.
public_access_block_enabled: bool§
creation_date: DateTimeThe creation date of the regional bucket
outpost_id: Option<String>The Outposts ID of the regional bucket.
Implementations§
source§impl RegionalBucket
impl RegionalBucket
sourcepub fn bucket_arn(&self) -> Option<&str>
pub fn bucket_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for the regional bucket.
sourcepub fn public_access_block_enabled(&self) -> bool
pub fn public_access_block_enabled(&self) -> bool
sourcepub fn creation_date(&self) -> &DateTime
pub fn creation_date(&self) -> &DateTime
The creation date of the regional bucket
sourcepub fn outpost_id(&self) -> Option<&str>
pub fn outpost_id(&self) -> Option<&str>
The Outposts ID of the regional bucket.
source§impl RegionalBucket
impl RegionalBucket
sourcepub fn builder() -> RegionalBucketBuilder
pub fn builder() -> RegionalBucketBuilder
Creates a new builder-style object to manufacture RegionalBucket.
Trait Implementations§
source§impl Clone for RegionalBucket
impl Clone for RegionalBucket
source§fn clone(&self) -> RegionalBucket
fn clone(&self) -> RegionalBucket
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RegionalBucket
impl Debug for RegionalBucket
source§impl PartialEq for RegionalBucket
impl PartialEq for RegionalBucket
source§fn eq(&self, other: &RegionalBucket) -> bool
fn eq(&self, other: &RegionalBucket) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for RegionalBucket
Auto Trait Implementations§
impl RefUnwindSafe for RegionalBucket
impl Send for RegionalBucket
impl Sync for RegionalBucket
impl Unpin for RegionalBucket
impl UnwindSafe for RegionalBucket
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.