Module document

Module document 

Source
Expand description

A BSON document represented as an associative HashMap with insertion ordering.

Structs§

Document
A BSON document represented as an associative HashMap with insertion ordering.
IntoIter
An iterator over Document entries.
Iter
An owning iterator over Document entries.
IterMut
An iterator over a Document’s keys and mutable values.
Keys
An iterator over an Document’s keys.
OccupiedEntry
A view into an occupied entry in a Document. It is part of the Entry enum.
VacantEntry
A view into a vacant entry in a Document. It is part of the Entry enum.
Values
An iterator over an Document’s values.

Enums§

Entry
A view into a single entry in a map, which may either be vacant or occupied.
ValueAccessError
Error to indicate that either a value was empty or it contained an unexpected type, for use with the direct getters.

Type Aliases§

ValueAccessResult
Result of accessing Bson value