Struct aws_sdk_cloudfront::model::CachePolicySummary
source · [−]#[non_exhaustive]pub struct CachePolicySummary { /* private fields */ }
Expand description
Contains a cache policy.
Implementations
sourceimpl CachePolicySummary
impl CachePolicySummary
sourcepub fn type(&self) -> Option<&CachePolicyType>
pub fn type(&self) -> Option<&CachePolicyType>
The type of cache policy, either managed
(created by Amazon Web Services) or custom
(created in this Amazon Web Services account).
sourcepub fn cache_policy(&self) -> Option<&CachePolicy>
pub fn cache_policy(&self) -> Option<&CachePolicy>
The cache policy.
sourceimpl CachePolicySummary
impl CachePolicySummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture CachePolicySummary
.
Trait Implementations
sourceimpl Clone for CachePolicySummary
impl Clone for CachePolicySummary
sourcefn clone(&self) -> CachePolicySummary
fn clone(&self) -> CachePolicySummary
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for CachePolicySummary
impl Debug for CachePolicySummary
sourceimpl PartialEq<CachePolicySummary> for CachePolicySummary
impl PartialEq<CachePolicySummary> for CachePolicySummary
sourcefn eq(&self, other: &CachePolicySummary) -> bool
fn eq(&self, other: &CachePolicySummary) -> bool
impl StructuralPartialEq for CachePolicySummary
Auto Trait Implementations
impl RefUnwindSafe for CachePolicySummary
impl Send for CachePolicySummary
impl Sync for CachePolicySummary
impl Unpin for CachePolicySummary
impl UnwindSafe for CachePolicySummary
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more