pub enum Params {
Positional(Vec<Value>),
Named(Vec<(String, Value)>),
}Expand description
SQL parameter container.
Variants§
Positional(Vec<Value>)
Positional values mapped to ? placeholders.
Named(Vec<(String, Value)>)
Named values mapped to :name style placeholders.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnsafeUnpin for Params
impl UnwindSafe for Params
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