pub struct Sql {
pub text: String,
pub params: Vec<Value>,
}Expand description
SQL query with bound parameters.
Separates the SQL text from parameter values for use with prepared statements.
Fields§
§text: StringThe SQL query text with parameter placeholders.
params: Vec<Value>The parameter values to bind to the query.
Trait Implementations§
impl StructuralPartialEq for Sql
Auto Trait Implementations§
impl Freeze for Sql
impl RefUnwindSafe for Sql
impl Send for Sql
impl Sync for Sql
impl Unpin for Sql
impl UnsafeUnpin for Sql
impl UnwindSafe for Sql
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