pub struct StructuredQuery {
pub query: String,
pub filter: Option<FilterDirective>,
pub limit: Option<u32>,
}
Expand description
Structured query with optional filtering and limiting
Fields§
§query: String
Query string
filter: Option<FilterDirective>
Optional filtering expression
limit: Option<u32>
Optional limit on the number of results
Implementations§
Trait Implementations§
Source§impl Clone for StructuredQuery
impl Clone for StructuredQuery
Source§fn clone(&self) -> StructuredQuery
fn clone(&self) -> StructuredQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for StructuredQuery
impl Debug for StructuredQuery
Source§impl<'de> Deserialize<'de> for StructuredQuery
impl<'de> Deserialize<'de> for StructuredQuery
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 Expr for StructuredQuery
impl Expr for StructuredQuery
Source§impl PartialEq for StructuredQuery
impl PartialEq for StructuredQuery
Source§impl Serialize for StructuredQuery
impl Serialize for StructuredQuery
impl StructuralPartialEq for StructuredQuery
Auto Trait Implementations§
impl Freeze for StructuredQuery
impl RefUnwindSafe for StructuredQuery
impl Send for StructuredQuery
impl Sync for StructuredQuery
impl Unpin for StructuredQuery
impl UnwindSafe for StructuredQuery
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