Enum mongodb::coll::options::ReturnDocument [−][src]
pub enum ReturnDocument {
Before,
After,
}Describes the type of document to return on write operations.
Variants
BeforeAfter
Methods
impl ReturnDocument[src]
impl ReturnDocumentTrait Implementations
impl Clone for ReturnDocument[src]
impl Clone for ReturnDocumentfn clone(&self) -> ReturnDocument[src]
fn clone(&self) -> ReturnDocumentReturns 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 ReturnDocument[src]
impl Debug for ReturnDocumentfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for ReturnDocument[src]
impl PartialEq for ReturnDocumentfn eq(&self, other: &ReturnDocument) -> bool[src]
fn eq(&self, other: &ReturnDocument) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
fn ne(&self, other: &Rhs) -> bool1.0.0
[src]This method tests for !=.
impl Eq for ReturnDocument[src]
impl Eq for ReturnDocumentAuto Trait Implementations
impl Send for ReturnDocument
impl Send for ReturnDocumentimpl Sync for ReturnDocument
impl Sync for ReturnDocument