pub enum IfMatchCondition {
Match(String),
NotMatch(String),
}
Variants§
Trait Implementations§
source§impl Clone for IfMatchCondition
impl Clone for IfMatchCondition
source§fn clone(&self) -> IfMatchCondition
fn clone(&self) -> IfMatchCondition
Returns a copy 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 IfMatchCondition
impl Debug for IfMatchCondition
source§impl Header for IfMatchCondition
impl Header for IfMatchCondition
fn name(&self) -> HeaderName
fn value(&self) -> HeaderValue
source§impl PartialEq for IfMatchCondition
impl PartialEq for IfMatchCondition
impl Eq for IfMatchCondition
impl StructuralPartialEq for IfMatchCondition
Auto Trait Implementations§
impl Freeze for IfMatchCondition
impl RefUnwindSafe for IfMatchCondition
impl Send for IfMatchCondition
impl Sync for IfMatchCondition
impl Unpin for IfMatchCondition
impl UnwindSafe for IfMatchCondition
Blanket Implementations§
source§impl<T> AsHeaders for Twhere
T: Header,
impl<T> AsHeaders for Twhere
T: Header,
type Iter = IntoIter<(HeaderName, HeaderValue)>
fn as_headers(&self) -> <T as AsHeaders>::Iter
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.