pub struct CustomHeaders {
pub items: Option<Vec<OriginCustomHeader>>,
pub quantity: i64,
}
Expand description
A complex type that contains the list of Custom Headers for each origin.
Fields§
§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
.
quantity: i64
The number of custom headers, if any, for this distribution.
Trait Implementations§
Source§impl Clone for CustomHeaders
impl Clone for CustomHeaders
Source§fn clone(&self) -> CustomHeaders
fn clone(&self) -> CustomHeaders
Returns a duplicate 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 Debug for CustomHeaders
impl Debug for CustomHeaders
Source§impl Default for CustomHeaders
impl Default for CustomHeaders
Source§fn default() -> CustomHeaders
fn default() -> CustomHeaders
Returns the “default value” for a type. Read more
Source§impl PartialEq for CustomHeaders
impl PartialEq for CustomHeaders
impl StructuralPartialEq for CustomHeaders
Auto Trait Implementations§
impl Freeze for CustomHeaders
impl RefUnwindSafe for CustomHeaders
impl Send for CustomHeaders
impl Sync for CustomHeaders
impl Unpin for CustomHeaders
impl UnwindSafe for CustomHeaders
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more