Struct mongodb::wire_protocol::flags::OpInsertFlags
[−]
[src]
pub struct OpInsertFlags { pub continue_on_error: bool, }
Represents the bit vector of flags for an OP_INSERT message.
Fields
continue_on_error: bool
Methods
impl OpInsertFlags
[src]
fn no_flags() -> OpInsertFlags
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 OpInsertFlags
[src]
fn clone(&self) -> OpInsertFlags
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 OpInsertFlags
[src]
impl Debug for OpInsertFlags
[src]
impl PartialEq for OpInsertFlags
[src]
fn eq(&self, __arg_0: &OpInsertFlags) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OpInsertFlags) -> bool
This method tests for !=
.