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

pub struct CountOptions {
    pub skip: Option<i64>,
    pub limit: Option<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: Option<i64>limit: Option<i64>hint: Option<String>hint_doc: Option<Document>max_time_ms: Option<i64>read_preference: Option<ReadPreference>

Methods

impl CountOptions[src]

pub fn new() -> Self[src]

Trait Implementations

impl Default for CountOptions[src]

impl Clone for CountOptions[src]

impl PartialEq<CountOptions> for CountOptions[src]

impl From<CountOptions> for Document[src]

impl Debug for CountOptions[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> Same<T> for T

type Output = T

Should always be Self