Struct mongors::connstring::ConnectionOptions[][src]

pub struct ConnectionOptions {
    pub options: BTreeMap<String, String>,
    pub read_pref_tags: Vec<String>,
}

Encapsulates the options and read preference tags of a MongoDB connection.

Fields

Methods

impl ConnectionOptions
[src]

Creates a new ConnectionOptions struct.

Trait Implementations

impl Debug for ConnectionOptions
[src]

Formats the value using the given formatter. Read more

impl Clone for ConnectionOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for ConnectionOptions
[src]

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

This method tests for !=.

impl Eq for ConnectionOptions
[src]

Auto Trait Implementations