pub enum FullDocumentBeforeChange {
Off,
WhenAvailable,
Required,
}Expand description
Full document before change return policy.
Variants§
Off
Don’t return document before change.
WhenAvailable
Return document before change if available.
Required
Require document before change.
Implementations§
Trait Implementations§
Source§impl Clone for FullDocumentBeforeChange
impl Clone for FullDocumentBeforeChange
Source§fn clone(&self) -> FullDocumentBeforeChange
fn clone(&self) -> FullDocumentBeforeChange
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FullDocumentBeforeChange
impl Debug for FullDocumentBeforeChange
Source§impl Default for FullDocumentBeforeChange
impl Default for FullDocumentBeforeChange
Source§fn default() -> FullDocumentBeforeChange
fn default() -> FullDocumentBeforeChange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FullDocumentBeforeChange
impl<'de> Deserialize<'de> for FullDocumentBeforeChange
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FullDocumentBeforeChange
impl PartialEq for FullDocumentBeforeChange
Source§impl Serialize for FullDocumentBeforeChange
impl Serialize for FullDocumentBeforeChange
impl Copy for FullDocumentBeforeChange
impl Eq for FullDocumentBeforeChange
impl StructuralPartialEq for FullDocumentBeforeChange
Auto Trait Implementations§
impl Freeze for FullDocumentBeforeChange
impl RefUnwindSafe for FullDocumentBeforeChange
impl Send for FullDocumentBeforeChange
impl Sync for FullDocumentBeforeChange
impl Unpin for FullDocumentBeforeChange
impl UnwindSafe for FullDocumentBeforeChange
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more