pub struct OriginCustomHeader {
pub header_name: String,
pub header_value: String,
}
Expand description
A complex type that contains HeaderName
and HeaderValue
elements, if any, for this distribution.
Fields§
§header_name: String
The name of a header that you want CloudFront to forward to your origin. For more information, see Forwarding Custom Headers to Your Origin (Web Distributions Only) in the Amazon CloudFront Developer Guide.
header_value: String
The value for the header that you specified in the HeaderName
field.
Trait Implementations§
Source§impl Clone for OriginCustomHeader
impl Clone for OriginCustomHeader
Source§fn clone(&self) -> OriginCustomHeader
fn clone(&self) -> OriginCustomHeader
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 Debug for OriginCustomHeader
impl Debug for OriginCustomHeader
Source§impl Default for OriginCustomHeader
impl Default for OriginCustomHeader
Source§fn default() -> OriginCustomHeader
fn default() -> OriginCustomHeader
Returns the “default value” for a type. Read more
Source§impl PartialEq for OriginCustomHeader
impl PartialEq for OriginCustomHeader
impl StructuralPartialEq for OriginCustomHeader
Auto Trait Implementations§
impl Freeze for OriginCustomHeader
impl RefUnwindSafe for OriginCustomHeader
impl Send for OriginCustomHeader
impl Sync for OriginCustomHeader
impl Unpin for OriginCustomHeader
impl UnwindSafe for OriginCustomHeader
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