Struct mongodb::wire_protocol::flags::OpReplyFlags
[−]
[src]
pub struct OpReplyFlags {
pub cursor_not_found: bool,
pub query_failure: bool,
pub await_capable: bool,
}Represents the bit vector of options for an OP_REPLY message.
Fields
cursor_not_found: bool
query_failure: bool
await_capable: bool
Methods
impl OpReplyFlags[src]
fn from_i32(i: i32) -> OpReplyFlags
Constructs a new struct from a bit vector of options.
Return value
Returns the newly-created struct.
Trait Implementations
impl Clone for OpReplyFlags[src]
fn clone(&self) -> OpReplyFlags
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 OpReplyFlags[src]
impl Debug for OpReplyFlags[src]
impl PartialEq for OpReplyFlags[src]
fn eq(&self, __arg_0: &OpReplyFlags) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &OpReplyFlags) -> bool
This method tests for !=.