pub struct Filter {
pub term: Option<Box<Term>>,
pub match: Option<Match>,
pub range: Option<Range>,
pub exists: Option<Exists>,
pub terms: Option<Box<Term>>,
pub nested: Option<Nested>,
}Expand description
Filter The filter element.
Fields§
§term: Option<Box<Term>>Term to match the query.
match: Option<Match>Match query.
range: Option<Range>The filter range.
exists: Option<Exists>The exists filter.
terms: Option<Box<Term>>Term to match the query.
nested: Option<Nested>The nested filter.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Filter
impl<'de> Deserialize<'de> for Filter
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
impl StructuralPartialEq for Filter
Auto Trait Implementations§
impl Freeze for Filter
impl RefUnwindSafe for Filter
impl Send for Filter
impl Sync for Filter
impl Unpin for Filter
impl UnsafeUnpin for Filter
impl UnwindSafe for Filter
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