#[non_exhaustive]pub struct ResponseHeadersPolicyContentTypeOptions { /* private fields */ }
Expand description
Determines whether CloudFront includes the X-Content-Type-Options
HTTP response header with its value set to nosniff
.
For more information about the X-Content-Type-Options
HTTP response header, see X-Content-Type-Options in the MDN Web Docs.
Implementations§
source§impl ResponseHeadersPolicyContentTypeOptions
impl ResponseHeadersPolicyContentTypeOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResponseHeadersPolicyContentTypeOptions
.
Trait Implementations§
source§impl Clone for ResponseHeadersPolicyContentTypeOptions
impl Clone for ResponseHeadersPolicyContentTypeOptions
source§fn clone(&self) -> ResponseHeadersPolicyContentTypeOptions
fn clone(&self) -> ResponseHeadersPolicyContentTypeOptions
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<ResponseHeadersPolicyContentTypeOptions> for ResponseHeadersPolicyContentTypeOptions
impl PartialEq<ResponseHeadersPolicyContentTypeOptions> for ResponseHeadersPolicyContentTypeOptions
source§fn eq(&self, other: &ResponseHeadersPolicyContentTypeOptions) -> bool
fn eq(&self, other: &ResponseHeadersPolicyContentTypeOptions) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.