Struct bonsaidb::keystorage::s3::aws_sdk_s3::types::Bucket
pub struct Bucket {
pub name: Option<String>,
pub creation_date: Option<DateTime>,
}
Expand description
In terms of implementation, a Bucket is a resource. An Amazon S3 bucket name is globally unique, and the namespace is shared by all Amazon Web Services accounts.
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.name: Option<String>
The name of the bucket.
creation_date: Option<DateTime>
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
Implementations§
§impl Bucket
impl Bucket
pub fn builder() -> BucketBuilder
pub fn builder() -> BucketBuilder
Creates a new builder-style object to manufacture Bucket
.
Trait Implementations§
impl StructuralPartialEq for Bucket
Auto Trait Implementations§
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnwindSafe for Bucket
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere T: 'a,
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