Struct mongodb::wire_protocol::flags::OpQueryFlags [] [src]

pub struct OpQueryFlags {
    pub tailable_cursor: bool,
    pub slave_ok: bool,
    pub oplog_relay: bool,
    pub no_cursor_timeout: bool,
    pub await_data: bool,
    pub exhaust: bool,
    pub partial: bool,
}

Represents the bit vector of flags for an OP_QUERY message.

Fields

Methods

impl OpQueryFlags
[src]

Constructs a new struct with all flags set to false.

Return value

Returns the newly-created struct.

Constructs a new struct with flags based on a FindOptions struct.

Arguments

options - Struct whose fields contain the flags to initialize the new OpQueryFlags with

Return value

Returns the newly created OpQueryFlags struct.

Gets the actual bit vector that the struct represents.

Return value

Returns the bit vector as an i32.

Trait Implementations

impl Clone for OpQueryFlags
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for OpQueryFlags
[src]

impl Debug for OpQueryFlags
[src]

Formats the value using the given formatter.

impl PartialEq for OpQueryFlags
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OpQueryFlags
[src]