pub struct Entry<N = String, V = ()> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<N, V> Contain<(N, V)> for Entry<N, V>
impl<N, V> Contain<(N, V)> for Entry<N, V>
Source§fn contains(&self, elem: &(N, V)) -> bool
fn contains(&self, elem: &(N, V)) -> bool
Contain::contains returns true if the given element is in the Contain instance
Source§fn contains_all(&self, iter: impl IntoIterator<Item = T>) -> bool
fn contains_all(&self, iter: impl IntoIterator<Item = T>) -> bool
Contain::contains_all returns true if all elements in the given iterator are in the Contain instance
Source§fn contains_some(&self, iter: impl IntoIterator<Item = T>) -> bool
fn contains_some(&self, iter: impl IntoIterator<Item = T>) -> bool
Contain::contains_some returns true if any element in the given iterator is in the Contain instance
Source§impl<'de, N, V> Deserialize<'de> for Entry<N, V>where
N: Deserialize<'de>,
V: Deserialize<'de>,
impl<'de, N, V> Deserialize<'de> for Entry<N, V>where
N: Deserialize<'de>,
V: Deserialize<'de>,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<N: Ord, V: Ord> Ord for Entry<N, V>
impl<N: Ord, V: Ord> Ord for Entry<N, V>
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<N: PartialOrd, V: PartialOrd> PartialOrd for Entry<N, V>
impl<N: PartialOrd, V: PartialOrd> PartialOrd for Entry<N, V>
impl<N: Eq, V: Eq> Eq for Entry<N, V>
impl<N, V> StructuralPartialEq for Entry<N, V>
Auto Trait Implementations§
impl<N, V> Freeze for Entry<N, V>where
N: Freeze,
impl<N, V> RefUnwindSafe for Entry<N, V>where
N: RefUnwindSafe,
V: RefUnwindSafe,
impl<N, V> Send for Entry<N, V>
impl<N, V> Sync for Entry<N, V>
impl<N, V> Unpin for Entry<N, V>
impl<N, V> UnwindSafe for Entry<N, V>where
N: UnwindSafe,
V: UnwindSafe,
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