pub enum EntryKey {
Value,
Type,
Language,
Direction,
}Expand description
Key of a value object entry.
Variants§
Value
The @value entry, holding the literal value.
Type
The @type entry, giving the type of the node or the values.
Language
The @language entry, tagging string values with a language.
Direction
The @direction entry, setting the base direction of string values.
Implementations§
Source§impl EntryKey
impl EntryKey
Sourcepub fn into_keyword(self) -> Keyword
pub fn into_keyword(self) -> Keyword
Returns the JSON-LD keyword this key stands for.
Sourcepub fn as_keyword(&self) -> Keyword
pub fn as_keyword(&self) -> Keyword
Returns the JSON-LD keyword this key stands for.
Trait Implementations§
impl Copy for EntryKey
impl Eq for EntryKey
Source§impl Ord for EntryKey
impl Ord for EntryKey
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialOrd for EntryKey
impl PartialOrd for EntryKey
impl StructuralPartialEq for EntryKey
Auto Trait Implementations§
impl Freeze for EntryKey
impl RefUnwindSafe for EntryKey
impl Send for EntryKey
impl Sync for EntryKey
impl Unpin for EntryKey
impl UnsafeUnpin for EntryKey
impl UnwindSafe for EntryKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.