pub struct Frag {
pub sql: String,
pub params: Vec<Value>,
}Expand description
A SQL fragment plus its positional bind params, in statement order.
Fields§
§sql: String§params: Vec<Value>Trait Implementations§
impl StructuralPartialEq for Frag
Auto Trait Implementations§
impl Freeze for Frag
impl RefUnwindSafe for Frag
impl Send for Frag
impl Sync for Frag
impl Unpin for Frag
impl UnsafeUnpin for Frag
impl UnwindSafe for Frag
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