Struct mongors::database::DatabaseInner[][src]

pub struct DatabaseInner {
    pub name: String,
    pub client: MongoClient,
    pub read_preference: ReadPreference,
    pub read_concern: ReadConcern,
    pub write_concern: WriteConcern,
}

Fields

The database name.

A reference to the client that spawned this database.

Indicates how a server should be selected for read operations.

The readConcern query option for replica sets and replica set shards determines which data to return from a query.

Describes the guarantees provided by MongoDB when reporting the success of a write operation.

Auto Trait Implementations