pub struct SqlChunk<'a>(pub String, pub Vec<&'a (dyn ToSql + Sync)>);Expand description
A basic chunk of SQL and it’s params.
This is bundes the params with the relevant part of the statement and thus makes ordering them much easier.
Tuple Fields§
§0: String§1: Vec<&'a (dyn ToSql + Sync)>Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for SqlChunk<'a>
impl<'a> Send for SqlChunk<'a>
impl<'a> Sync for SqlChunk<'a>
impl<'a> Unpin for SqlChunk<'a>
impl<'a> !UnwindSafe for SqlChunk<'a>
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