Struct aws_sdk_cloudfront::model::OriginCustomHeader [−][src]
#[non_exhaustive]pub struct OriginCustomHeader {
pub header_name: Option<String>,
pub header_value: Option<String>,
}
Expand description
A complex type that contains HeaderName
and HeaderValue
elements, if any, for this distribution.
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_name: Option<String>
The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
header_value: Option<String>
The value for the header that you specified in the HeaderName
field.
Implementations
The name of a header that you want CloudFront to send to your origin. For more information, see Adding Custom Headers to Origin Requests in the Amazon CloudFront Developer Guide.
The value for the header that you specified in the HeaderName
field.
Creates a new builder-style object to manufacture OriginCustomHeader
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 RefUnwindSafe for OriginCustomHeader
impl Send for OriginCustomHeader
impl Sync for OriginCustomHeader
impl Unpin for OriginCustomHeader
impl UnwindSafe for OriginCustomHeader
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