#[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
sourceimpl ResponseHeadersPolicyContentTypeOptions
impl ResponseHeadersPolicyContentTypeOptions
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResponseHeadersPolicyContentTypeOptions
.
Trait Implementations
sourceimpl Clone for ResponseHeadersPolicyContentTypeOptions
impl Clone for ResponseHeadersPolicyContentTypeOptions
sourcefn clone(&self) -> ResponseHeadersPolicyContentTypeOptions
fn clone(&self) -> ResponseHeadersPolicyContentTypeOptions
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 PartialEq<ResponseHeadersPolicyContentTypeOptions> for ResponseHeadersPolicyContentTypeOptions
impl PartialEq<ResponseHeadersPolicyContentTypeOptions> for ResponseHeadersPolicyContentTypeOptions
sourcefn eq(&self, other: &ResponseHeadersPolicyContentTypeOptions) -> bool
fn eq(&self, other: &ResponseHeadersPolicyContentTypeOptions) -> bool
impl StructuralPartialEq for ResponseHeadersPolicyContentTypeOptions
Auto Trait Implementations
impl RefUnwindSafe for ResponseHeadersPolicyContentTypeOptions
impl Send for ResponseHeadersPolicyContentTypeOptions
impl Sync for ResponseHeadersPolicyContentTypeOptions
impl Unpin for ResponseHeadersPolicyContentTypeOptions
impl UnwindSafe for ResponseHeadersPolicyContentTypeOptions
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