Struct aws_sdk_s3::output::GetBucketCorsOutput
source · #[non_exhaustive]pub struct GetBucketCorsOutput { /* private fields */ }
Implementations§
source§impl GetBucketCorsOutput
impl GetBucketCorsOutput
sourcepub fn cors_rules(&self) -> Option<&[CorsRule]>
pub fn cors_rules(&self) -> Option<&[CorsRule]>
A set of origins and methods (cross-origin access that you want to allow). You can add up to 100 rules to the configuration.
source§impl GetBucketCorsOutput
impl GetBucketCorsOutput
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture GetBucketCorsOutput
.
Trait Implementations§
source§impl Clone for GetBucketCorsOutput
impl Clone for GetBucketCorsOutput
source§fn clone(&self) -> GetBucketCorsOutput
fn clone(&self) -> GetBucketCorsOutput
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 GetBucketCorsOutput
impl Debug for GetBucketCorsOutput
source§impl PartialEq<GetBucketCorsOutput> for GetBucketCorsOutput
impl PartialEq<GetBucketCorsOutput> for GetBucketCorsOutput
source§fn eq(&self, other: &GetBucketCorsOutput) -> bool
fn eq(&self, other: &GetBucketCorsOutput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.