[][src]Enum terminus_store::layer::ObjectType

pub enum ObjectType {
    Node(String),
    Value(String),
}

The type of an object in a triple.

Objects in a triple may either be a node or a value. Nodes can be used both in the subject and the object position, while values are only used in the object position.

Terminus-store keeps track of whether an object was stored as a node or a value, and will return this information in queries. It is possible to have the same string appear both as a node and a value, without this leading to conflicts.

Variants

Node(String)
Value(String)

Trait Implementations

impl Clone for ObjectType[src]

impl Debug for ObjectType[src]

impl Eq for ObjectType[src]

impl Hash for ObjectType[src]

impl Ord for ObjectType[src]

impl PartialEq<ObjectType> for ObjectType[src]

impl PartialOrd<ObjectType> for ObjectType[src]

impl StructuralEq for ObjectType[src]

impl StructuralPartialEq for ObjectType[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>,