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§
Sourcefn to_mongo_filter_one(&self) -> Document
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".