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 UpdateOptionspub fn new() -> UpdateOptions[src]
pub fn new() -> UpdateOptionsTrait Implementations
impl Clone for UpdateOptions[src]
impl Clone for UpdateOptionsfn clone(&self) -> UpdateOptions[src]
fn clone(&self) -> UpdateOptionsReturns 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 UpdateOptionsfn 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 UpdateOptions[src]
impl Default for UpdateOptionsfn default() -> UpdateOptions[src]
fn default() -> UpdateOptionsReturns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for UpdateOptions
impl Send for UpdateOptionsimpl Sync for UpdateOptions
impl Sync for UpdateOptions