pub struct CacheRuleConditions { /* private fields */ }
Implementations§
Source§impl CacheRuleConditions
impl CacheRuleConditions
pub fn request_headers<T>(self, value: T) -> Self
pub fn request_methods<T>(self, value: T) -> Self
pub fn request_query_params<T>(self, value: T) -> Self
pub fn response_headers<T>(self, value: T) -> Self
pub fn response_status<T>(self, value: T) -> Self
Trait Implementations§
Source§impl Clone for CacheRuleConditions
impl Clone for CacheRuleConditions
Source§fn clone(&self) -> CacheRuleConditions
fn clone(&self) -> CacheRuleConditions
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 CacheRuleConditions
impl Debug for CacheRuleConditions
Source§impl Default for CacheRuleConditions
impl Default for CacheRuleConditions
Source§impl From<CacheRuleConditions> for CacheRuleConditions
impl From<CacheRuleConditions> for CacheRuleConditions
Source§fn from(value: CacheRuleConditions) -> Self
fn from(value: CacheRuleConditions) -> Self
Converts to this type from the input type.
Source§impl TryFrom<CacheRuleConditions> for CacheRuleConditions
impl TryFrom<CacheRuleConditions> for CacheRuleConditions
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: CacheRuleConditions) -> Result<Self, ConversionError>
fn try_from(value: CacheRuleConditions) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for CacheRuleConditions
impl RefUnwindSafe for CacheRuleConditions
impl Send for CacheRuleConditions
impl Sync for CacheRuleConditions
impl Unpin for CacheRuleConditions
impl UnwindSafe for CacheRuleConditions
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