Skip to main content

DocumentPredicate

Type Alias DocumentPredicate 

Source
pub type DocumentPredicate = Box<dyn Fn(&[u8]) -> bool + Send>;
Expand description

Type alias for document predicate functions

Used in Collection::find() to filter documents by their serialized bytes.

Aliased Typeยง

pub struct DocumentPredicate(/* private fields */);