Struct mongodb::coll::options::UpdateOptions
[−]
[src]
pub struct UpdateOptions { pub upsert: bool, pub write_concern: Option<WriteConcern>, }
Options for update operations.
Fields
upsert: bool
write_concern: Option<WriteConcern>
Methods
impl UpdateOptions
[src]
fn new(upsert: bool, write_concern: Option<WriteConcern>) -> 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 Default for UpdateOptions
[src]
fn default() -> UpdateOptions
Returns the "default value" for a type. Read more