Struct mon::bson::doc::Document [] [src]

pub struct Document { /* fields omitted */ }

Methods

impl Document
[src]

Get a generic binary value for this key if it exists and has the correct type.

Get an object id value for this key if it exists and has the correct type.

Get a UTC datetime value for this key if it exists and has the correct type.

Trait Implementations

impl Clone for Document
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Document
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for Document
[src]

Formats the value using the given formatter. Read more

impl Debug for Document
[src]

Formats the value using the given formatter.

impl IntoIterator for Document
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<'a> IntoIterator for &'a Document
[src]

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl FromIterator<(String, Bson)> for Document
[src]

Creates a value from an iterator. Read more

impl From<LinkedHashMap<String, Bson>> for Document
[src]

Performs the conversion.

impl Serialize for Document
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Document
[src]

Deserialize this value given this Deserializer.

impl From<CreateCollectionOptions> for Document
[src]

Performs the conversion.

impl From<CreateUserOptions> for Document
[src]

Performs the conversion.

impl From<UserInfoOptions> for Document
[src]

Performs the conversion.

impl From<UpdateModel> for Document
[src]

Performs the conversion.

impl From<AggregateOptions> for Document
[src]

Performs the conversion.

impl From<CountOptions> for Document
[src]

Performs the conversion.

impl From<FindOptions> for Document
[src]

Performs the conversion.

impl From<FindOneAndDeleteOptions> for Document
[src]

Performs the conversion.

impl From<FindOneAndUpdateOptions> for Document
[src]

Performs the conversion.

impl From<InsertManyOptions> for Document
[src]

Performs the conversion.