#[non_exhaustive]pub struct ResponseHeadersPolicyAccessControlAllowOrigins { /* private fields */ }
Expand description
A list of origins (domain names) that CloudFront can use as the value for the Access-Control-Allow-Origin
HTTP response header.
For more information about the Access-Control-Allow-Origin
HTTP response header, see Access-Control-Allow-Origin in the MDN Web Docs.
Implementations§
source§impl ResponseHeadersPolicyAccessControlAllowOrigins
impl ResponseHeadersPolicyAccessControlAllowOrigins
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResponseHeadersPolicyAccessControlAllowOrigins
.
Trait Implementations§
source§impl Clone for ResponseHeadersPolicyAccessControlAllowOrigins
impl Clone for ResponseHeadersPolicyAccessControlAllowOrigins
source§fn clone(&self) -> ResponseHeadersPolicyAccessControlAllowOrigins
fn clone(&self) -> ResponseHeadersPolicyAccessControlAllowOrigins
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 PartialEq<ResponseHeadersPolicyAccessControlAllowOrigins> for ResponseHeadersPolicyAccessControlAllowOrigins
impl PartialEq<ResponseHeadersPolicyAccessControlAllowOrigins> for ResponseHeadersPolicyAccessControlAllowOrigins
source§fn eq(&self, other: &ResponseHeadersPolicyAccessControlAllowOrigins) -> bool
fn eq(&self, other: &ResponseHeadersPolicyAccessControlAllowOrigins) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.