Struct mongodb::coll::options::AggregateOptions [] [src]

pub struct AggregateOptions {
    pub allow_disk_use: bool,
    pub use_cursor: bool,
    pub batch_size: i32,
    pub max_time_ms: Option<i64>,
    pub read_preference: Option<ReadPreference>,
}

Options for aggregation queries.

Fields

allow_disk_use: bool use_cursor: bool batch_size: i32 max_time_ms: Option<i64> read_preference: Option<ReadPreference>

Methods

impl AggregateOptions
[src]

Trait Implementations

impl Clone for AggregateOptions
[src]

fn clone(&self) -> AggregateOptions

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