pub enum PlainTermEncodingField {
TermType,
Value,
DataType,
LanguageTag,
}
Expand description
Represents the fields of the PlainTermEncoding.
Variants§
TermType
Indicates the type of RDF term.
Value
Contains the lexical value of an RDF term.
DataType
Holds the data type of RDF literal, including simple literals and language-tagged literals. If an RDF term has a language tag, the datatype must contain rdf:langString.
This filed should be null
for named nodes and blank nodes.
LanguageTag
Contains an optional language tag for language-tagged literals.
This field should be null
for named nodes, blank nodes, and literals without a language
tag.
Implementations§
Trait Implementations§
Source§impl Clone for PlainTermEncodingField
impl Clone for PlainTermEncodingField
Source§fn clone(&self) -> PlainTermEncodingField
fn clone(&self) -> PlainTermEncodingField
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PlainTermEncodingField
impl Debug for PlainTermEncodingField
Source§impl PartialEq for PlainTermEncodingField
impl PartialEq for PlainTermEncodingField
impl Copy for PlainTermEncodingField
impl Eq for PlainTermEncodingField
impl StructuralPartialEq for PlainTermEncodingField
Auto Trait Implementations§
impl Freeze for PlainTermEncodingField
impl RefUnwindSafe for PlainTermEncodingField
impl Send for PlainTermEncodingField
impl Sync for PlainTermEncodingField
impl Unpin for PlainTermEncodingField
impl UnwindSafe for PlainTermEncodingField
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> 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§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.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more