Enum rio_api::model::GeneralizedTerm[][src]

pub enum GeneralizedTerm<'a> {
    NamedNode(NamedNode<'a>),
    BlankNode(BlankNode<'a>),
    Literal(Literal<'a>),
    Variable(Variable<'a>),
}

A generalized RDF term.

It is the union of

The default string formatter is returning an N-Triples, Turtle and SPARQL compatible representation.

Using it requires to enable the generalized feature.

Variants

NamedNode(NamedNode<'a>)
BlankNode(BlankNode<'a>)
Literal(Literal<'a>)
Variable(Variable<'a>)

Trait Implementations

impl<'a> Clone for GeneralizedTerm<'a>[src]

impl<'a> Copy for GeneralizedTerm<'a>[src]

impl<'a> Debug for GeneralizedTerm<'a>[src]

impl<'a> Display for GeneralizedTerm<'a>[src]

impl<'a> Eq for GeneralizedTerm<'a>[src]

impl<'a> From<BlankNode<'a>> for GeneralizedTerm<'a>[src]

impl<'a> From<Literal<'a>> for GeneralizedTerm<'a>[src]

impl<'a> From<NamedNode<'a>> for GeneralizedTerm<'a>[src]

impl<'a> From<NamedOrBlankNode<'a>> for GeneralizedTerm<'a>[src]

impl<'a> From<Term<'a>> for GeneralizedTerm<'a>[src]

impl<'a> From<Variable<'a>> for GeneralizedTerm<'a>[src]

impl<'a> Hash for GeneralizedTerm<'a>[src]

impl<'a> PartialEq<GeneralizedTerm<'a>> for GeneralizedTerm<'a>[src]

impl<'a> StructuralEq for GeneralizedTerm<'a>[src]

impl<'a> StructuralPartialEq for GeneralizedTerm<'a>[src]

impl<'a> TTerm for GeneralizedTerm<'a>[src]

impl<'a> TryFrom<GeneralizedTerm<'a>> for NamedNode<'a>[src]

type Error = StrictRdfError

The type returned in the event of a conversion error.

impl<'a> TryFrom<GeneralizedTerm<'a>> for NamedOrBlankNode<'a>[src]

type Error = StrictRdfError

The type returned in the event of a conversion error.

impl<'a> TryFrom<GeneralizedTerm<'a>> for Term<'a>[src]

type Error = StrictRdfError

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for GeneralizedTerm<'a>

impl<'a> Send for GeneralizedTerm<'a>

impl<'a> Sync for GeneralizedTerm<'a>

impl<'a> Unpin for GeneralizedTerm<'a>

impl<'a> UnwindSafe for GeneralizedTerm<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> CopiableTerm for T where
    T: TTerm + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<U> TermMatcher for U where
    U: TTerm + ?Sized
[src]

type Term = U

Type of TTerm used internally by this matcher.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.