pub struct CacheRule { /* private fields */ }
Implementations§
Source§impl CacheRule
impl CacheRule
pub fn conditions<T>(self, value: T) -> Self
pub fn pass<T>(self, value: T) -> Self
pub fn path<T>(self, value: T) -> Self
pub fn rank<T>(self, value: T) -> Self
pub fn regex<T>(self, value: T) -> Self
pub fn swr<T>(self, value: T) -> Self
pub fn ttl<T>(self, value: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheRule
impl RefUnwindSafe for CacheRule
impl Send for CacheRule
impl Sync for CacheRule
impl Unpin for CacheRule
impl UnwindSafe for CacheRule
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