pub struct QueryExpression {
pub expr: String,
pub params: Vec<String>,
}Expand description
Annex B — QueryCriterion expression.
Fields§
§expr: StringSQL-92 subset expression (e.g. "price > 100 AND symbol = 'AAPL'").
params: Vec<String>Bind parameters.
Implementations§
Trait Implementations§
Source§impl Clone for QueryExpression
impl Clone for QueryExpression
Source§fn clone(&self) -> QueryExpression
fn clone(&self) -> QueryExpression
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 QueryExpression
impl Debug for QueryExpression
impl Eq for QueryExpression
Source§impl PartialEq for QueryExpression
impl PartialEq for QueryExpression
Source§fn eq(&self, other: &QueryExpression) -> bool
fn eq(&self, other: &QueryExpression) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueryExpression
Auto Trait Implementations§
impl Freeze for QueryExpression
impl RefUnwindSafe for QueryExpression
impl Send for QueryExpression
impl Sync for QueryExpression
impl Unpin for QueryExpression
impl UnsafeUnpin for QueryExpression
impl UnwindSafe for QueryExpression
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