[−][src]Struct httptest::mappers::sequence::KV
A key-value pair.
Fields
k: K::Owned
The key
v: V::Owned
The value
Trait Implementations
impl<K: Debug + ?Sized, V: Debug + ?Sized> Debug for KV<K, V> where
Self: Sized,
K: ToOwned,
V: ToOwned,
K::Owned: Debug,
V::Owned: Debug,
[src]
Self: Sized,
K: ToOwned,
V: ToOwned,
K::Owned: Debug,
V::Owned: Debug,
impl<K: ?Sized, V: ?Sized, KMapper, VMapper> Mapper<KV<K, V>> for (KMapper, VMapper) where
K: ToOwned,
V: ToOwned,
KMapper: Mapper<K, Out = bool>,
VMapper: Mapper<V, Out = bool>,
[src]
K: ToOwned,
V: ToOwned,
KMapper: Mapper<K, Out = bool>,
VMapper: Mapper<V, Out = bool>,
impl<K: PartialEq + ?Sized, V: PartialEq + ?Sized> PartialEq<KV<K, V>> for KV<K, V> where
Self: Sized,
K: ToOwned,
V: ToOwned,
K::Owned: PartialEq,
V::Owned: PartialEq,
[src]
Self: Sized,
K: ToOwned,
V: ToOwned,
K::Owned: PartialEq,
V::Owned: PartialEq,
impl<K: PartialOrd + ?Sized, V: PartialOrd + ?Sized> PartialOrd<KV<K, V>> for KV<K, V> where
Self: Sized,
K: ToOwned,
V: ToOwned,
K::Owned: PartialOrd,
V::Owned: PartialOrd,
[src]
Self: Sized,
K: ToOwned,
V: ToOwned,
K::Owned: PartialOrd,
V::Owned: PartialOrd,
fn partial_cmp(&self, other: &KV<K, V>) -> Option<Ordering>
[src]
fn lt(&self, other: &KV<K, V>) -> bool
[src]
fn le(&self, other: &KV<K, V>) -> bool
[src]
fn gt(&self, other: &KV<K, V>) -> bool
[src]
fn ge(&self, other: &KV<K, V>) -> bool
[src]
impl<K: ?Sized, V: ?Sized> StructuralPartialEq for KV<K, V> where
Self: Sized,
K: ToOwned,
V: ToOwned,
[src]
Self: Sized,
K: ToOwned,
V: ToOwned,
Auto Trait Implementations
impl<K: ?Sized, V: ?Sized> RefUnwindSafe for KV<K, V> where
<K as ToOwned>::Owned: RefUnwindSafe,
<V as ToOwned>::Owned: RefUnwindSafe,
<K as ToOwned>::Owned: RefUnwindSafe,
<V as ToOwned>::Owned: RefUnwindSafe,
impl<K: ?Sized, V: ?Sized> Send for KV<K, V> where
<K as ToOwned>::Owned: Send,
<V as ToOwned>::Owned: Send,
<K as ToOwned>::Owned: Send,
<V as ToOwned>::Owned: Send,
impl<K: ?Sized, V: ?Sized> Sync for KV<K, V> where
<K as ToOwned>::Owned: Sync,
<V as ToOwned>::Owned: Sync,
<K as ToOwned>::Owned: Sync,
<V as ToOwned>::Owned: Sync,
impl<K: ?Sized, V: ?Sized> Unpin for KV<K, V> where
<K as ToOwned>::Owned: Unpin,
<V as ToOwned>::Owned: Unpin,
<K as ToOwned>::Owned: Unpin,
<V as ToOwned>::Owned: Unpin,
impl<K: ?Sized, V: ?Sized> UnwindSafe for KV<K, V> where
<K as ToOwned>::Owned: UnwindSafe,
<V as ToOwned>::Owned: UnwindSafe,
<K as ToOwned>::Owned: UnwindSafe,
<V as ToOwned>::Owned: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,