Struct mongodb::common::WriteConcern [−][src]
Fields
w: i32
Write replication
w_timeout: i32
Used in conjunction with 'w'. Propagation timeout in ms.
j: bool
If true, will block until write operations have been committed to journal.
fsync: bool
If true and server is not journaling, blocks until server has synced all data files to disk.
Methods
impl WriteConcern[src]
impl WriteConcernTrait Implementations
impl Debug for WriteConcern[src]
impl Debug for WriteConcernfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Default for WriteConcern[src]
impl Default for WriteConcernfn default() -> WriteConcern[src]
fn default() -> WriteConcernReturns the "default value" for a type. Read more
impl Clone for WriteConcern[src]
impl Clone for WriteConcernfn clone(&self) -> WriteConcern[src]
fn clone(&self) -> WriteConcernReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl PartialEq for WriteConcern[src]
impl PartialEq for WriteConcernfn eq(&self, other: &WriteConcern) -> bool[src]
fn eq(&self, other: &WriteConcern) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &WriteConcern) -> bool[src]
fn ne(&self, other: &WriteConcern) -> boolThis method tests for !=.
impl Eq for WriteConcern[src]
impl Eq for WriteConcernAuto Trait Implementations
impl Send for WriteConcern
impl Send for WriteConcernimpl Sync for WriteConcern
impl Sync for WriteConcern