Struct mongodb::coll::options::DistinctOptions [−][src]
pub struct DistinctOptions { pub max_time_ms: Option<i64>, pub read_preference: Option<ReadPreference>, }
Options for distinct queries.
Fields
max_time_ms: Option<i64>
read_preference: Option<ReadPreference>
Methods
impl DistinctOptions
[src]
impl DistinctOptions
Trait Implementations
impl Clone for DistinctOptions
[src]
impl Clone for DistinctOptions
fn clone(&self) -> DistinctOptions
[src]
fn clone(&self) -> DistinctOptions
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 DistinctOptions
[src]
impl Debug for DistinctOptions
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 DistinctOptions
[src]
impl Default for DistinctOptions
fn default() -> DistinctOptions
[src]
fn default() -> DistinctOptions
Returns the "default value" for a type. Read more
Auto Trait Implementations
impl Send for DistinctOptions
impl Send for DistinctOptions
impl Sync for DistinctOptions
impl Sync for DistinctOptions