pub struct Params(pub Vec<Value>);Expand description
Unified SQLite parameter container.
Tuple Fields§
§0: Vec<Value>Implementations§
Trait Implementations§
Source§impl ParamConverter<'_> for Params
impl ParamConverter<'_> for Params
type Converted = Params
Source§fn convert_sql_params(
params: &[RowValues],
_mode: ConversionMode,
) -> Result<Self::Converted, SqlMiddlewareDbError>
fn convert_sql_params( params: &[RowValues], _mode: ConversionMode, ) -> Result<Self::Converted, SqlMiddlewareDbError>
Convert a slice of
RowValues into the backend’s parameter type. Read moreSource§fn supports_mode(mode: ConversionMode) -> bool
fn supports_mode(mode: ConversionMode) -> bool
Check if this converter supports the given mode Read more
Auto Trait Implementations§
impl Freeze for Params
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin 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