pub enum RdfLiteral<F> {
    String(Loc<String, F>),
    TypedString(Loc<String, F>, Loc<IriRefBuf, F>),
    LangString(Loc<String, F>, Loc<LanguageTagBuf, F>),
}

Variants

String(Loc<String, F>)

String literal.

TypedString(Loc<String, F>, Loc<IriRefBuf, F>)

Typed string literal.

LangString(Loc<String, F>, Loc<LanguageTagBuf, F>)

Language string.

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

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.