pub struct PutBucketMetricsConfigurationRequest {
pub bucket: String,
pub expected_bucket_owner: Option<String>,
pub id: String,
pub metrics_configuration: MetricsConfiguration,
}
Fields§
§bucket: String
The name of the bucket for which the metrics configuration is set.
expected_bucket_owner: Option<String>
The account ID of the expected bucket owner. If the bucket is owned by a different account, the request will fail with an HTTP 403 (Access Denied)
error.
id: String
The ID used to identify the metrics configuration.
metrics_configuration: MetricsConfiguration
Specifies the metrics configuration.
Trait Implementations§
Source§impl Clone for PutBucketMetricsConfigurationRequest
impl Clone for PutBucketMetricsConfigurationRequest
Source§fn clone(&self) -> PutBucketMetricsConfigurationRequest
fn clone(&self) -> PutBucketMetricsConfigurationRequest
Returns a duplicate 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 Default for PutBucketMetricsConfigurationRequest
impl Default for PutBucketMetricsConfigurationRequest
Source§fn default() -> PutBucketMetricsConfigurationRequest
fn default() -> PutBucketMetricsConfigurationRequest
Returns the “default value” for a type. Read more
Source§impl PartialEq for PutBucketMetricsConfigurationRequest
impl PartialEq for PutBucketMetricsConfigurationRequest
Source§fn eq(&self, other: &PutBucketMetricsConfigurationRequest) -> bool
fn eq(&self, other: &PutBucketMetricsConfigurationRequest) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PutBucketMetricsConfigurationRequest
Auto Trait Implementations§
impl Freeze for PutBucketMetricsConfigurationRequest
impl RefUnwindSafe for PutBucketMetricsConfigurationRequest
impl Send for PutBucketMetricsConfigurationRequest
impl Sync for PutBucketMetricsConfigurationRequest
impl Unpin for PutBucketMetricsConfigurationRequest
impl UnwindSafe for PutBucketMetricsConfigurationRequest
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