pub enum CachePointTtl {
FiveMinutes,
OneHour,
}Expand description
Cache-point lifetime for providers with per-breakpoint TTL controls.
Variants§
FiveMinutes
Keep the cache entry for at least five minutes.
OneHour
Keep the cache entry for at least one hour.
Implementations§
Trait Implementations§
Source§impl Clone for CachePointTtl
impl Clone for CachePointTtl
Source§fn clone(&self) -> CachePointTtl
fn clone(&self) -> CachePointTtl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CachePointTtl
Source§impl Debug for CachePointTtl
impl Debug for CachePointTtl
Source§impl<'de> Deserialize<'de> for CachePointTtl
impl<'de> Deserialize<'de> for CachePointTtl
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CachePointTtl
Source§impl PartialEq for CachePointTtl
impl PartialEq for CachePointTtl
Source§impl Serialize for CachePointTtl
impl Serialize for CachePointTtl
impl StructuralPartialEq for CachePointTtl
Auto Trait Implementations§
impl Freeze for CachePointTtl
impl RefUnwindSafe for CachePointTtl
impl Send for CachePointTtl
impl Sync for CachePointTtl
impl Unpin for CachePointTtl
impl UnsafeUnpin for CachePointTtl
impl UnwindSafe for CachePointTtl
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