Struct mongodb::ClientInner
[−]
[src]
pub struct ClientInner {
pub read_preference: ReadPreference,
pub write_concern: WriteConcern,
// some fields omitted
}Interfaces with a MongoDB server or replica set.
Fields
read_preference: ReadPreference
Indicates how a server should be selected for read operations.
write_concern: WriteConcern
Describes the guarantees provided by MongoDB when reporting the success of a write operation.