pub struct SqlTemplate {
pub sql: Arc<str>,
pub hash: u64,
pub param_count: usize,
/* private fields */
}Expand description
A pre-parsed SQL template for fast instantiation.
Fields§
§sql: Arc<str>The complete SQL string (for direct use).
hash: u64Pre-computed hash for fast lookup.
param_count: usizeNumber of parameters.
Implementations§
Trait Implementations§
Source§impl Clone for SqlTemplate
impl Clone for SqlTemplate
Auto Trait Implementations§
impl !Freeze for SqlTemplate
impl RefUnwindSafe for SqlTemplate
impl Send for SqlTemplate
impl Sync for SqlTemplate
impl Unpin for SqlTemplate
impl UnwindSafe for SqlTemplate
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)