Struct mongodb::coll::options::CountOptions
[−]
[src]
pub struct CountOptions { pub skip: u64, pub limit: i64, pub hint: Option<String>, pub hint_doc: Option<Document>, pub max_time_ms: Option<i64>, pub read_preference: Option<ReadPreference>, }
Options for count queries.
Fields
skip: u64
limit: i64
hint: Option<String>
hint_doc: Option<Document>
max_time_ms: Option<i64>
read_preference: Option<ReadPreference>
Methods
impl CountOptions
[src]
fn new() -> CountOptions
Trait Implementations
impl Clone for CountOptions
[src]
fn clone(&self) -> CountOptions
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 Default for CountOptions
[src]
fn default() -> CountOptions
Returns the "default value" for a type. Read more