pub enum Object<F> {
    Iri(Iri<F>),
    BlankNode(BlankNode<F>),
    Collection(Vec<Loc<Self, F>>),
    Literal(Literal<F>),
}
Expand description

Object of a triples declaration.

Variants

Iri(Iri<F>)

IRI or compact IRI.

BlankNode(BlankNode<F>)

Blank node.

Collection(Vec<Loc<Self, F>>)

Collection of objects.

Literal(Literal<F>)

Literal value.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Wraps self inside a Loc<Self, F> using the given location. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.