Struct mongodb::coll::options::UpdateOptions
[−]
[src]
pub struct UpdateOptions { pub upsert: Option<bool>, pub write_concern: Option<WriteConcern>, }
Options for update operations.
Fields
upsert: Option<bool>
write_concern: Option<WriteConcern>
Methods
impl UpdateOptions
[src]
fn new() -> UpdateOptions
Trait Implementations
impl Clone for UpdateOptions
[src]
fn clone(&self) -> UpdateOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for UpdateOptions
[src]
impl Default for UpdateOptions
[src]
fn default() -> UpdateOptions
Returns the "default value" for a type. Read more