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 more
sourceimpl 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
This method tests for self and other values to be equal, and is used
by ==. Read more
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more