pub struct RenderedSql {
pub sql: String,
pub params: Vec<ParamName>,
}Expand description
Result of rendering SQL.
Fields§
§sql: StringThe SQL string with $1, $2, etc. placeholders.
params: Vec<ParamName>Parameter names in order (maps to $1, $2, etc.).
Trait Implementations§
Source§impl Clone for RenderedSql
impl Clone for RenderedSql
Source§fn clone(&self) -> RenderedSql
fn clone(&self) -> RenderedSql
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 moreAuto Trait Implementations§
impl Freeze for RenderedSql
impl RefUnwindSafe for RenderedSql
impl Send for RenderedSql
impl Sync for RenderedSql
impl Unpin for RenderedSql
impl UnsafeUnpin for RenderedSql
impl UnwindSafe for RenderedSql
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