Struct mongo_driver::collection::CountOptions [] [src]

pub struct CountOptions {
    pub query_flags: Flags<QueryFlag>,
    pub skip: u32,
    pub limit: u32,
    pub opts: Option<Document>,
    pub read_prefs: Option<ReadPrefs>,
}

Options to configure a count operation.

Fields

The query flags to use

Number of results to skip, zero to ignore

Limit to the number of results, zero to ignore

Optional extra keys to add to the count

Read prefs to use

Methods

impl CountOptions
[src]

[src]

Default options used if none are provided.

Trait Implementations

Auto Trait Implementations

impl !Send for CountOptions

impl !Sync for CountOptions