pub struct CachePeekStaleStepDef {
pub repository: Option<String>,
pub key: LanguageExpressionDef,
}Expand description
Cache Peek Stale EIP step definition.
Returns cached data even if TTL has expired (graceful degradation).
Fields§
§repository: Option<String>Name of the registered CacheRepository (optional; defaults to system default).
key: LanguageExpressionDefExpression that extracts the cache key to peek.
Trait Implementations§
Source§impl Clone for CachePeekStaleStepDef
impl Clone for CachePeekStaleStepDef
Source§fn clone(&self) -> CachePeekStaleStepDef
fn clone(&self) -> CachePeekStaleStepDef
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 moreSource§impl Debug for CachePeekStaleStepDef
impl Debug for CachePeekStaleStepDef
impl Eq for CachePeekStaleStepDef
Source§impl PartialEq for CachePeekStaleStepDef
impl PartialEq for CachePeekStaleStepDef
impl StructuralPartialEq for CachePeekStaleStepDef
Auto Trait Implementations§
impl Freeze for CachePeekStaleStepDef
impl RefUnwindSafe for CachePeekStaleStepDef
impl Send for CachePeekStaleStepDef
impl Sync for CachePeekStaleStepDef
impl Unpin for CachePeekStaleStepDef
impl UnsafeUnpin for CachePeekStaleStepDef
impl UnwindSafe for CachePeekStaleStepDef
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.