[][src]Enum rdftk_core::literal::DataType

pub enum DataType {
    String,
    QName,
    IRI,
    Boolean,
    Float,
    Double,
    Long,
    Int,
    Short,
    Byte,
    UnsignedLong,
    UnsignedInt,
    UnsignedShort,
    UnsignedByte,
    Duration,
    Other(IRIRef),
}

Variants

String

Denotes a literal of type xsd::string.

QName

Denotes a literal of type xsd::qname.

IRI

Denotes a literal of type xsd::anyURI.

Boolean

Denotes a literal of type xsd::boolean.

Float

Denotes a literal of type xsd::float.

Double

Denotes a literal of type xsd::double.

Long

Denotes a literal of type xsd::long.

Int

Denotes a literal of type xsd::int.

Short

Denotes a literal of type xsd::short.

Byte

Denotes a literal of type xsd::byte.

UnsignedLong

Denotes a literal of type xsd::unsignedLong.

UnsignedInt

Denotes a literal of type xsd::unsignedInt.

UnsignedShort

Denotes a literal of type xsd::unsignedShort.

UnsignedByte

Denotes a literal of type xsd::unsignedByte.

Duration

Denotes a literal of type xsd::duration.

Other(IRIRef)

Denotes a literal where the type is indicated by the provided IRI.

Trait Implementations

impl Clone for DataType[src]

impl Debug for DataType[src]

impl Eq for DataType[src]

impl Hash for DataType[src]

impl PartialEq<DataType> for DataType[src]

impl StructuralEq for DataType[src]

impl StructuralPartialEq for DataType[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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>,