[][src]Enum oxigraph::model::Term

pub enum Term {
    NamedNode(NamedNode),
    BlankNode(BlankNode),
    Literal(Literal),
}

An owned RDF term It is the union of IRIs, blank nodes and literals.

Variants

NamedNode(NamedNode)
BlankNode(BlankNode)
Literal(Literal)

Implementations

impl Term[src]

pub fn is_named_node(&self) -> bool[src]

pub fn is_blank_node(&self) -> bool[src]

pub fn is_literal(&self) -> bool[src]

pub fn as_ref(&self) -> TermRef<'_>[src]

Trait Implementations

impl Clone for Term[src]

impl Debug for Term[src]

impl Display for Term[src]

impl Eq for Term[src]

impl<'a> From<&'a Term> for TermRef<'a>[src]

impl From<BlankNode> for Term[src]

impl<'_> From<BlankNodeRef<'_>> for Term[src]

impl From<Literal> for Term[src]

impl<'_> From<LiteralRef<'_>> for Term[src]

impl From<NamedNode> for Term[src]

impl<'_> From<NamedNodeRef<'_>> for Term[src]

impl From<NamedOrBlankNode> for Term[src]

impl<'_> From<NamedOrBlankNodeRef<'_>> for Term[src]

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

impl Hash for Term[src]

impl PartialEq<Term> for Term[src]

impl StructuralEq for Term[src]

impl StructuralPartialEq for Term[src]

impl TTerm for Term[src]

impl TryCopyTerm for Term[src]

type Error = SophiaToOxigraphConversionError

The error type produced when failing to copy a given term

Auto Trait Implementations

impl RefUnwindSafe for Term

impl Send for Term

impl Sync for Term

impl Unpin for Term

impl UnwindSafe for Term

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<T> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,