Struct mongodb::wire_protocol::flags::OpUpdateFlags
[−]
[src]
pub struct OpUpdateFlags { pub upsert: bool, pub multi_update: bool, }
Represents the bit vector of options for an OP_UPDATE message.
Fields
upsert: bool
multi_update: bool
Methods
impl OpUpdateFlags
[src]
fn no_flags() -> OpUpdateFlags
fn to_i32(&self) -> i32
Gets the actual bit vector that the struct represents.
Return value
Returns the bit vector as an i32.
Trait Implementations
impl Clone for OpUpdateFlags
[src]
fn clone(&self) -> OpUpdateFlags
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 Copy for OpUpdateFlags
[src]
impl Debug for OpUpdateFlags
[src]
impl PartialEq for OpUpdateFlags
[src]
fn eq(&self, __arg_0: &OpUpdateFlags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OpUpdateFlags) -> bool
This method tests for !=
.