pub struct Schematic {
    pub name: SchemaName,
    /* private fields */
}
Expand description

A collection of defined collections and views.

Fields

name: SchemaName

The name of the schema this was built from.

Implementations

Returns an initialized version from S.

Adds the collection C and its views.

Adds the view V.

Adds the view V.

Returns true if this schema contains the collection C.

Returns true if this schema contains the collection C.

Looks up a view::Serialized by name.

Looks up a view::Serialized through the the type V.

Iterates over all registered views.

Iterates over all views that belong to collection.

Iterates over all views that are unique that belong to collection.

Returns a collection’s default encryption key, if one was defined.

Returns a list of all collections contained in this schematic.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.