Expand description

Types for defining database schema.

Modules

Types for defining map/reduce-powered Views.

Structs

The owner of a schema item. This should represent the company, group, or individual that created the item in question. This value is used for namespacing. Changing this after values are in use is not supported without manual migrations at this time.

The name of a Collection.

A future that resolves to an entry in a NamedCollection.

An error from inserting a CollectionDocument.

A name was unable to e parsed.

Executes Connection::list() when awaited. Also offers methods to customize the options for the operation.

A document’s entry in a View’s mappings.

A key value pair

A schema name. Cloning is inexpensive.

The name of a Schema.

A collection of defined collections and views.

The name of a View.

Enums

A reference to a collection that has a unique name view.

Traits

A namespaced collection of Document<Self> items and views.

A View for a Collection that stores Serde-compatible documents. The only difference between implmementing this and View is that the map function receives a CollectionDocument instead of a BorrowedDocument.

A convenience trait for easily storing Serde-compatible types in documents.

A default serialization strategy for views. Uses equivalent settings as DefaultSerialization.

A trait that enables a type to convert itself to a big-endian/network byte order.

A collection with a unique name column.

Defines a group of collections that are stored into a single database.

A collection that knows how to serialize and deserialize documents to an associated type.

A View with additional tyes and logic to handle serializing view values.

A mechanism for accessing mapped and/or reduced data from a Collection.

The implementation of Map/Reduce for a View.

Type Definitions

A type alias for the result of ViewSchema::reduce().

A type alias for the result of ViewSchema::map().

A mapped value in a View.