pub struct Bucket {
pub bucket_region: Option<BucketRegion>,
pub creation_date: Option<CreationDate>,
pub name: Option<BucketName>,
}Expand description
In terms of implementation, a Bucket is a resource.
Fields§
§bucket_region: Option<BucketRegion>
BucketRegion indicates the Amazon Web Services region where the bucket is located. If the
request contains at least one valid parameter, it is included in the response.
creation_date: Option<CreationDate>Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
name: Option<BucketName>The name of the bucket.
Trait Implementations§
Source§impl<'xml> DeserializeContent<'xml> for Bucket
Available on crate feature minio only.
impl<'xml> DeserializeContent<'xml> for Bucket
Available on crate feature
minio only.Source§fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
fn deserialize_content(d: &mut Deserializer<'xml>) -> DeResult<Self>
Deserializes the content of the data type Read more
Source§impl DtoExt for Bucket
impl DtoExt for Bucket
Source§fn ignore_empty_strings(&mut self)
fn ignore_empty_strings(&mut self)
Modifies all empty string fields from
Some("") to NoneSource§impl SerializeContent for Bucket
Available on crate feature minio only.
impl SerializeContent for Bucket
Available on crate feature
minio only.Source§fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
fn serialize_content<W: Write>(&self, s: &mut Serializer<W>) -> SerResult
Serializes the content of the data type Read more
impl StructuralPartialEq for Bucket
Auto Trait Implementations§
impl Freeze for Bucket
impl RefUnwindSafe for Bucket
impl Send for Bucket
impl Sync for Bucket
impl Unpin for Bucket
impl UnsafeUnpin for Bucket
impl UnwindSafe for Bucket
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