Struct mongodb::coll::options::AggregateOptions [−][src]
pub struct AggregateOptions { pub allow_disk_use: Option<bool>, pub use_cursor: Option<bool>, pub batch_size: i32, pub max_time_ms: Option<i64>, pub read_preference: Option<ReadPreference>, }
Options for aggregation queries.
Fields
allow_disk_use: Option<bool>
use_cursor: Option<bool>
batch_size: i32
max_time_ms: Option<i64>
read_preference: Option<ReadPreference>
Methods
impl AggregateOptions
[src]
impl AggregateOptions
Trait Implementations
impl Clone for AggregateOptions
[src]
impl Clone for AggregateOptions
fn clone(&self) -> AggregateOptions
[src]
fn clone(&self) -> AggregateOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for AggregateOptions
[src]
impl Debug for AggregateOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Default for AggregateOptions
[src]
impl Default for AggregateOptions
fn default() -> AggregateOptions
[src]
fn default() -> AggregateOptions
Returns the "default value" for a type. Read more
impl From<AggregateOptions> for Document
[src]
impl From<AggregateOptions> for Document
fn from(options: AggregateOptions) -> Self
[src]
fn from(options: AggregateOptions) -> Self
Performs the conversion.
Auto Trait Implementations
impl Send for AggregateOptions
impl Send for AggregateOptions
impl Sync for AggregateOptions
impl Sync for AggregateOptions