pub struct CompoundQuery {
pub query_type: QueryType,
pub queries: Vec<Query>,
}
Expand description
Represents a compound query composed of multiple Query
s.
A CompoundQuery
allows for complex query logic by combining multiple Query
s
using a specified QueryType
(e.g., And, Or).
Fields§
§query_type: QueryType
§queries: Vec<Query>
Implementations§
Trait Implementations§
Source§impl Clone for CompoundQuery
impl Clone for CompoundQuery
Source§fn clone(&self) -> CompoundQuery
fn clone(&self) -> CompoundQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CompoundQuery
impl Debug for CompoundQuery
Source§impl<'de> Deserialize<'de> for CompoundQuery
impl<'de> Deserialize<'de> for CompoundQuery
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
Source§impl PartialEq for CompoundQuery
impl PartialEq for CompoundQuery
Source§impl Serialize for CompoundQuery
impl Serialize for CompoundQuery
impl Eq for CompoundQuery
Auto Trait Implementations§
impl Freeze for CompoundQuery
impl RefUnwindSafe for CompoundQuery
impl Send for CompoundQuery
impl Sync for CompoundQuery
impl Unpin for CompoundQuery
impl UnwindSafe for CompoundQuery
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