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

Subject of a triples declaration.

Variants

Iri(Iri<F>)

IRI or compact IRI.

BlankNode(BlankNode<F>)

Blank node.

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

Collection of subjects.

Trait Implementations

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

Performs the conversion.

Performs the conversion.

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.