Struct json_ld_core::object::node::properties::Entry
source · pub struct Entry<T, M> {
pub key_metadata: M,
pub value: T,
}
Expand description
Property set entry.
Fields§
§key_metadata: M
Property key metadata.
value: T
Property value.
Implementations§
Trait Implementations§
source§impl<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>
source§impl<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)
source§impl<T: StrippedPartialEq<__T>, M, __T, __M> StrippedPartialEq<Entry<__T, __M>> for Entry<T, M>
impl<T: StrippedPartialEq<__T>, M, __T, __M> StrippedPartialEq<Entry<__T, __M>> for Entry<T, M>
fn stripped_eq(&self, other: &Entry<__T, __M>) -> 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§
source§impl<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
source§impl<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,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.