#[non_exhaustive]pub struct OriginRequestPolicySummary { /* private fields */ }Expand description
Contains an 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 ==.