#[non_exhaustive]pub struct TooLongCspInResponseHeadersPolicy { /* private fields */ }
Expand description
The length of the Content-Security-Policy
header value in the response headers policy exceeds the maximum.
For more information, see Quotas (formerly known as limits) in the Amazon CloudFront Developer Guide.
Implementations§
source§impl TooLongCspInResponseHeadersPolicy
impl TooLongCspInResponseHeadersPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture TooLongCspInResponseHeadersPolicy
.
Trait Implementations§
source§impl Clone for TooLongCspInResponseHeadersPolicy
impl Clone for TooLongCspInResponseHeadersPolicy
source§fn clone(&self) -> TooLongCspInResponseHeadersPolicy
fn clone(&self) -> TooLongCspInResponseHeadersPolicy
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 Error for TooLongCspInResponseHeadersPolicy
impl Error for TooLongCspInResponseHeadersPolicy
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl PartialEq<TooLongCspInResponseHeadersPolicy> for TooLongCspInResponseHeadersPolicy
impl PartialEq<TooLongCspInResponseHeadersPolicy> for TooLongCspInResponseHeadersPolicy
source§fn eq(&self, other: &TooLongCspInResponseHeadersPolicy) -> bool
fn eq(&self, other: &TooLongCspInResponseHeadersPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.