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

Methods

impl OpUpdateFlags
[src]

Constructs a new struct with all flags set to false.

Return value

Returns the newly-created struct.

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]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for OpUpdateFlags
[src]

impl Debug for OpUpdateFlags
[src]

Formats the value using the given formatter.

impl PartialEq for OpUpdateFlags
[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 OpUpdateFlags
[src]