Struct aws_sdk_cloudfront::model::ResponseHeadersPolicyCustomHeader [−][src]
#[non_exhaustive]pub struct ResponseHeadersPolicyCustomHeader {
pub header: Option<String>,
pub value: Option<String>,
pub override: Option<bool>,
}
Expand description
An HTTP response header name and its value. CloudFront includes this header in HTTP responses that it sends for requests that match a cache behavior that’s associated with this response headers policy.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.header: Option<String>
The HTTP response header name.
value: Option<String>
The value for the HTTP response header.
override: Option<bool>
A Boolean that determines whether CloudFront overrides a response header with the same name received from the origin with the header specified here.
Implementations
Creates a new builder-style object to manufacture ResponseHeadersPolicyCustomHeader
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ResponseHeadersPolicyCustomHeader
impl Sync for ResponseHeadersPolicyCustomHeader
impl Unpin for ResponseHeadersPolicyCustomHeader
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more