Struct aws_sdk_cloudfront::model::CustomHeaders [−][src]
#[non_exhaustive]pub struct CustomHeaders {
pub quantity: Option<i32>,
pub items: Option<Vec<OriginCustomHeader>>,
}
Expand description
A complex type that contains the list of Custom Headers for each origin.
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.quantity: Option<i32>
The number of custom headers, if any, for this distribution.
items: Option<Vec<OriginCustomHeader>>
Optional: A list that contains one
OriginCustomHeader
element for each custom header that you want CloudFront to forward
to the origin. If Quantity is 0
, omit Items
.
Implementations
The number of custom headers, if any, for this distribution.
Creates a new builder-style object to manufacture CustomHeaders
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 CustomHeaders
impl Send for CustomHeaders
impl Sync for CustomHeaders
impl Unpin for CustomHeaders
impl UnwindSafe for CustomHeaders
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