Enum mongodb::options::UpdateModifications [−][src]
Expand description
Enum modeling the modifications to apply during an update. For details, see the official MongoDB documentation
Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Document(Document)
A document that contains only update operator expressions.
Tuple Fields of Document
0: Document
An aggregation pipeline. Only available in MongoDB 4.2+.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for UpdateModifications
impl Send for UpdateModifications
impl Sync for UpdateModifications
impl Unpin for UpdateModifications
impl UnwindSafe for UpdateModifications
Blanket Implementations
Mutably borrows from an owned value. Read more