[][src]Module ejdb::meta

Types returned by metadata query method on Database structure.

You can use Database::get_metadata() method to obtain an instance of DatabaseMetadata structure. It provides a number of methods to access some information about the database: file paths, collection names, indices, etc.

Database metadata is a BSON object, therefore all significant types in this module have Deref<Target=bson::Document> implementations. DatabaseMetadata additionally has into_inner() method in case you need raw metadata document for some reason.

Structs

CollectionMetadata

Represents metainformation about a collection in an EJDB database.

DatabaseMetadata

Represents metainformation about an EJDB database.

IndexMetadata

Represents metainformation about an index of a collection in an EJDB database.

Enums

IndexType

Represents an EJDB index type.

Type Definitions

CollectionIndices

A type alias for indices metadata iterator.

Collections

A type alias for collections metadata iterator.