Struct mongodb::common::WriteConcern [] [src]

pub struct WriteConcern {
    pub w: i32,
    pub w_timeout: i32,
    pub j: bool,
    pub fsync: bool,


Write replication

Used in conjunction with 'w'. Propagation timeout in ms.

If true, will block until write operations have been committed to journal.

If true and server is not journaling, blocks until server has synced all data files to disk.


impl WriteConcern

Trait Implementations

impl Debug for WriteConcern

Formats the value using the given formatter.

impl Default for WriteConcern

Returns the "default value" for a type. Read more

impl Clone for WriteConcern

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for WriteConcern

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

This method tests for !=.

impl Eq for WriteConcern