pub struct QueryCard {
pub name: String,
pub argv: Vec<String>,
pub params: Vec<CardParam>,
}Expand description
A compiled runtime template: the exact IDX.QUERY … argv with $N
slots left in place. The application substitutes real values for the
slots and sends the argv as-is — there is no runtime SQL.
Fields§
§name: StringThe view name the card compiles.
argv: Vec<String>The full argv template (["IDX.QUERY", "orders.user_id", "EQ", "$1", …]).
params: Vec<CardParam>The $N slots in ascending order.
Trait Implementations§
impl Eq for QueryCard
impl StructuralPartialEq for QueryCard
Auto Trait Implementations§
impl Freeze for QueryCard
impl RefUnwindSafe for QueryCard
impl Send for QueryCard
impl Sync for QueryCard
impl Unpin for QueryCard
impl UnsafeUnpin for QueryCard
impl UnwindSafe for QueryCard
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