Skip to main content

ToMongoFilterOne

Trait ToMongoFilterOne 

Source
pub trait ToMongoFilterOne {
    // Required method
    fn to_mongo_filter_one(&self) -> Document;
}
Expand description

Trait for converting to a MongoDB filter for one document.

Required Methods§

Source

fn to_mongo_filter_one(&self) -> Document

Converts to a MongoDB filter document.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl ToMongoFilterOne for Document

Implementors§