Struct json_ld_core::object::node::properties::Entry
source · [−]pub struct Entry<T, M> {
pub key_metadata: M,
pub value: T,
}
Fields
key_metadata: M
value: T
Implementations
Trait Implementations
sourceimpl<T: PartialEq, M: PartialEq> PartialEq<Entry<T, M>> for Entry<T, M>
impl<T: PartialEq, M: PartialEq> PartialEq<Entry<T, M>> for Entry<T, M>
sourceimpl<T: StrippedHash, M> StrippedHash for Entry<T, M>
impl<T: StrippedHash, M> StrippedHash for Entry<T, M>
fn stripped_hash<H: Hasher>(&self, state: &mut H)
sourceimpl<T: StrippedPartialEq, M> StrippedPartialEq<Entry<T, M>> for Entry<T, M>
impl<T: StrippedPartialEq, M> StrippedPartialEq<Entry<T, M>> for Entry<T, M>
fn stripped_eq(&self, other: &Self) -> bool
impl<T: Eq, M: Eq> Eq for Entry<T, M>
impl<T: StrippedEq, M> StrippedEq for Entry<T, M>
impl<T, M> StructuralEq for Entry<T, M>
impl<T, M> StructuralPartialEq for Entry<T, M>
Auto Trait Implementations
impl<T, M> RefUnwindSafe for Entry<T, M>where
M: RefUnwindSafe,
T: RefUnwindSafe,
impl<T, M> Send for Entry<T, M>where
M: Send,
T: Send,
impl<T, M> Sync for Entry<T, M>where
M: Sync,
T: Sync,
impl<T, M> Unpin for Entry<T, M>where
M: Unpin,
T: Unpin,
impl<T, M> UnwindSafe for Entry<T, M>where
M: UnwindSafe,
T: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> BorrowStripped for T
impl<T> BorrowStripped for T
sourceimpl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
fn equivalent(&self, key: &K) -> bool
sourceimpl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.