Crate ligature[][src]

This module is the main module for the Ligature project. It represents to common types and traits used by Ligature.

Structs

Attribute

A named connection between an Entity and a Value.

Dataset

A string that represents a Dataset by name. Currently can only be ASCII text separated by /

Entity

An Entity that is identified by a unique u64 id.

LigatureError

A general struct for representing errors involving Ligature. TODO should probably be an enum with a bunch of specific cases

PersistedStatement

A Statement that has been persisted so it has an assoicated Context Entity.

Statement

A Statement is a grouping of an Entity, an Attribute, and a Value.

Enums

Range

A set of enums used to express range queries when it makes sense for that type (ie no support for BooleanLiteralRange or UnknownLiteralRange since they don't make sense).

Value

An enum that represents all the currently supported Value types.

Traits

Ligature

A trait that all Ligature implementations implement.

QueryTx

Represents a QueryTx within the context of a Ligature instance and a single Dataset

WriteTx

Represents a WriteTx within the context of a Ligature instance and a single Dataset