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]
impl UpdateOptions
pub fn new() -> UpdateOptions
[src]
pub fn new() -> UpdateOptions
Trait Implementations
impl Clone for UpdateOptions
[src]
impl Clone for UpdateOptions
fn clone(&self) -> UpdateOptions
[src]
fn clone(&self) -> UpdateOptions
Returns 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 Debug for UpdateOptions
[src]
impl Debug for UpdateOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for UpdateOptions
[src]
impl Default for UpdateOptions
fn default() -> UpdateOptions
[src]
fn default() -> UpdateOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for UpdateOptions
impl Send for UpdateOptions
impl Sync for UpdateOptions
impl Sync for UpdateOptions