pub struct ApplicationCachePolicy { /* private fields */ }Implementations§
Source§impl ApplicationCachePolicy
impl ApplicationCachePolicy
pub fn new( scope: CacheScope, freshness: FreshnessPolicy, tags: InvalidationSet, ) -> Result<Self, CacheModelError>
pub fn scope(&self) -> &CacheScope
pub fn freshness(&self) -> FreshnessPolicy
Trait Implementations§
Source§impl Clone for ApplicationCachePolicy
impl Clone for ApplicationCachePolicy
Source§fn clone(&self) -> ApplicationCachePolicy
fn clone(&self) -> ApplicationCachePolicy
Returns a duplicate 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 ApplicationCachePolicy
impl Debug for ApplicationCachePolicy
Source§impl PartialEq for ApplicationCachePolicy
impl PartialEq for ApplicationCachePolicy
impl Eq for ApplicationCachePolicy
impl StructuralPartialEq for ApplicationCachePolicy
Auto Trait Implementations§
impl Freeze for ApplicationCachePolicy
impl RefUnwindSafe for ApplicationCachePolicy
impl Send for ApplicationCachePolicy
impl Sync for ApplicationCachePolicy
impl Unpin for ApplicationCachePolicy
impl UnsafeUnpin for ApplicationCachePolicy
impl UnwindSafe for ApplicationCachePolicy
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