Expand description

Documents are containers for the data you put in a [Collection](super::collection::Collection).

Documents exist in two ways:

Traits

DittoDocuments can be obtained via calls to the various exec methods or via the various observe_local methods, exposed via the objects returned from calls to Collection::find_by_id, Collection::find, and Collection::find_all.