pub struct Lifted {
pub text: String,
pub values: Vec<LiftedValue>,
pub row_width: Option<usize>,
}Expand description
A statement with its literal values replaced by ?1, ?2 and so on.
Fields§
§text: StringThe rewritten text.
values: Vec<LiftedValue>The values, ?1 first.
row_width: Option<usize>How many values make one row, when the statement had several rows of
lone literals and text is the one row template VALUES (?1, ...).
Several rows as one template (task-2191). An INSERT of twenty
thousand rows built a syntax tree node, a bound expression and a
compiled expression for every literal. With every element of every row
a lone literal and every row the same width, the rows are values and
the statement is the one row form run over all of them; values then
holds every row in order. None means values binds text once.
Trait Implementations§
impl StructuralPartialEq for Lifted
Auto Trait Implementations§
impl Freeze for Lifted
impl RefUnwindSafe for Lifted
impl Send for Lifted
impl Sync for Lifted
impl Unpin for Lifted
impl UnsafeUnpin for Lifted
impl UnwindSafe for Lifted
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