#[non_exhaustive]pub struct OriginRequestPolicySummary {
pub type: Option<OriginRequestPolicyType>,
pub origin_request_policy: Option<OriginRequestPolicy>,
}Expand description
Contains an origin request policy.
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.type: Option<OriginRequestPolicyType>The type of origin request policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).
origin_request_policy: Option<OriginRequestPolicy>The origin request policy.
Implementations§
source§impl OriginRequestPolicySummary
impl OriginRequestPolicySummary
sourcepub fn type(&self) -> Option<&OriginRequestPolicyType>
pub fn type(&self) -> Option<&OriginRequestPolicyType>
The type of origin request policy, either managed (created by Amazon Web Services) or custom (created in this Amazon Web Services account).
sourcepub fn origin_request_policy(&self) -> Option<&OriginRequestPolicy>
pub fn origin_request_policy(&self) -> Option<&OriginRequestPolicy>
The origin request policy.
source§impl OriginRequestPolicySummary
impl OriginRequestPolicySummary
sourcepub fn builder() -> OriginRequestPolicySummaryBuilder
pub fn builder() -> OriginRequestPolicySummaryBuilder
Creates a new builder-style object to manufacture OriginRequestPolicySummary.
Trait Implementations§
source§impl Clone for OriginRequestPolicySummary
impl Clone for OriginRequestPolicySummary
source§fn clone(&self) -> OriginRequestPolicySummary
fn clone(&self) -> OriginRequestPolicySummary
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 OriginRequestPolicySummary
impl Debug for OriginRequestPolicySummary
source§impl PartialEq<OriginRequestPolicySummary> for OriginRequestPolicySummary
impl PartialEq<OriginRequestPolicySummary> for OriginRequestPolicySummary
source§fn eq(&self, other: &OriginRequestPolicySummary) -> bool
fn eq(&self, other: &OriginRequestPolicySummary) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for OriginRequestPolicySummary
Auto Trait Implementations§
impl RefUnwindSafe for OriginRequestPolicySummary
impl Send for OriginRequestPolicySummary
impl Sync for OriginRequestPolicySummary
impl Unpin for OriginRequestPolicySummary
impl UnwindSafe for OriginRequestPolicySummary
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