pub enum FullDocument {
Default,
UpdateLookup,
WhenAvailable,
Required,
}Expand description
Full document return policy for updates.
Variants§
Default
Don’t return full document.
UpdateLookup
Return the full document after the change.
WhenAvailable
Return the full document if available.
Required
Require the full document.
Implementations§
Trait Implementations§
Source§impl Clone for FullDocument
impl Clone for FullDocument
Source§fn clone(&self) -> FullDocument
fn clone(&self) -> FullDocument
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 FullDocument
impl Debug for FullDocument
Source§impl Default for FullDocument
impl Default for FullDocument
Source§fn default() -> FullDocument
fn default() -> FullDocument
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for FullDocument
impl<'de> Deserialize<'de> for FullDocument
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 FullDocument
impl PartialEq for FullDocument
Source§impl Serialize for FullDocument
impl Serialize for FullDocument
impl Copy for FullDocument
impl Eq for FullDocument
impl StructuralPartialEq for FullDocument
Auto Trait Implementations§
impl Freeze for FullDocument
impl RefUnwindSafe for FullDocument
impl Send for FullDocument
impl Sync for FullDocument
impl Unpin for FullDocument
impl UnwindSafe for FullDocument
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