pub enum Value<T, B, L> {
Id(ValidId<T, B>),
Literal(L),
}Expand description
RDF object value: either a node identifier or a literal handle.
Variants§
Implementations§
Trait Implementations§
impl<T: Eq, B: Eq, L: Eq> Eq for Value<T, B, L>
impl<T: PartialEq, B: PartialEq, L: PartialEq> StructuralPartialEq for Value<T, B, L>
Auto Trait Implementations§
impl<T, B, L> Freeze for Value<T, B, L>
impl<T, B, L> RefUnwindSafe for Value<T, B, L>
impl<T, B, L> Send for Value<T, B, L>
impl<T, B, L> Sync for Value<T, B, L>
impl<T, B, L> Unpin for Value<T, B, L>
impl<T, B, L> UnsafeUnpin for Value<T, B, L>
impl<T, B, L> UnwindSafe for Value<T, B, L>
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
Source§impl<T> BorrowUnordered for T
impl<T> BorrowUnordered for T
Source§fn as_unordered(&self) -> &Unordered<T>
fn as_unordered(&self) -> &Unordered<T>
Views this value as an
Unordered reference.impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
Checks if
self is equivalent to key.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.