Struct aws_sdk_s3::model::CorsConfiguration
source · [−]#[non_exhaustive]pub struct CorsConfiguration { /* private fields */ }
Expand description
Describes the cross-origin access configuration for objects in an Amazon S3 bucket. For more information, see Enabling Cross-Origin Resource Sharing in the Amazon S3 User Guide.
Implementations
sourceimpl CorsConfiguration
impl CorsConfiguration
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.
sourceimpl CorsConfiguration
impl CorsConfiguration
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CorsConfiguration
.
Trait Implementations
sourceimpl Clone for CorsConfiguration
impl Clone for CorsConfiguration
sourcefn clone(&self) -> CorsConfiguration
fn clone(&self) -> CorsConfiguration
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CorsConfiguration
impl Debug for CorsConfiguration
sourceimpl PartialEq<CorsConfiguration> for CorsConfiguration
impl PartialEq<CorsConfiguration> for CorsConfiguration
sourcefn eq(&self, other: &CorsConfiguration) -> bool
fn eq(&self, other: &CorsConfiguration) -> bool
impl StructuralPartialEq for CorsConfiguration
Auto Trait Implementations
impl RefUnwindSafe for CorsConfiguration
impl Send for CorsConfiguration
impl Sync for CorsConfiguration
impl Unpin for CorsConfiguration
impl UnwindSafe for CorsConfiguration
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more