Struct aws_sdk_cloudfront::operation::update_response_headers_policy::UpdateResponseHeadersPolicyInput
source · #[non_exhaustive]pub struct UpdateResponseHeadersPolicyInput {
pub response_headers_policy_config: Option<ResponseHeadersPolicyConfig>,
pub id: Option<String>,
pub if_match: Option<String>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.response_headers_policy_config: Option<ResponseHeadersPolicyConfig>
A response headers policy configuration.
id: Option<String>
The identifier for the response headers policy that you are updating.
if_match: Option<String>
The version of the response headers policy that you are updating.
The version is returned in the cache policy's ETag
field in the response to GetResponseHeadersPolicyConfig
.
Implementations§
source§impl UpdateResponseHeadersPolicyInput
impl UpdateResponseHeadersPolicyInput
sourcepub fn response_headers_policy_config(
&self
) -> Option<&ResponseHeadersPolicyConfig>
pub fn response_headers_policy_config( &self ) -> Option<&ResponseHeadersPolicyConfig>
A response headers policy configuration.
source§impl UpdateResponseHeadersPolicyInput
impl UpdateResponseHeadersPolicyInput
sourcepub fn builder() -> UpdateResponseHeadersPolicyInputBuilder
pub fn builder() -> UpdateResponseHeadersPolicyInputBuilder
Creates a new builder-style object to manufacture UpdateResponseHeadersPolicyInput
.
Trait Implementations§
source§impl Clone for UpdateResponseHeadersPolicyInput
impl Clone for UpdateResponseHeadersPolicyInput
source§fn clone(&self) -> UpdateResponseHeadersPolicyInput
fn clone(&self) -> UpdateResponseHeadersPolicyInput
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 PartialEq for UpdateResponseHeadersPolicyInput
impl PartialEq for UpdateResponseHeadersPolicyInput
source§fn eq(&self, other: &UpdateResponseHeadersPolicyInput) -> bool
fn eq(&self, other: &UpdateResponseHeadersPolicyInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateResponseHeadersPolicyInput
Auto Trait Implementations§
impl RefUnwindSafe for UpdateResponseHeadersPolicyInput
impl Send for UpdateResponseHeadersPolicyInput
impl Sync for UpdateResponseHeadersPolicyInput
impl Unpin for UpdateResponseHeadersPolicyInput
impl UnwindSafe for UpdateResponseHeadersPolicyInput
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Creates a shared type from an unshared type.