Enum terminus_store::ObjectType [−][src]
Expand description
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)
Tuple Fields of Node
0: String
Value(String)
Tuple Fields of Value
0: String
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ObjectType
impl Send for ObjectType
impl Sync for ObjectType
impl Unpin for ObjectType
impl UnwindSafe for ObjectType
Blanket Implementations
Mutably borrows from an owned value. Read more