pub struct Quad<S = Subject, P = IriRefBuf, O = Object, G = GraphLabel>(pub S, pub P, pub O, pub Option<G>);
Expand description

RDF quad.

Tuple Fields

0: S1: P2: O3: Option<G>

Implementations

Creates a new quad.

Returns a reference to the subject of the quad, the first component.

Turns the quad into its subject, the first component.

Returns a reference to the predicate of the quad, the second component.

Turns the quad into its predicate, the second component.

Returns a reference to the object of the quad, the third component.

Turns the quad into its object, the third component.

Returns a reference to the graph of the quad, the fourth component.

Turns the quad into its graph, the fourth component.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. 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.

Converts the given value to a String. Read more

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.