pub enum SqlParam {
}Expand description
Type-erased SQL parameter for dynamic query building.
Variants§
Null
Bool(bool)
I16(i16)
I32(i32)
I64(i64)
F32(f32)
F64(f64)
Text(String)
Uuid(Uuid)
Timestamp(NaiveDateTime)
TimestampTz(DateTime<Utc>)
Date(NaiveDate)
Time(NaiveTime)
Json(Value)
ByteArray(Vec<u8>)
TextArray(Vec<String>)
I32Array(Vec<i32>)
I64Array(Vec<i64>)
Trait Implementations§
Source§impl IntoSqlParam for SqlParam
impl IntoSqlParam for SqlParam
fn into_sql_param(self) -> SqlParam
Auto Trait Implementations§
impl Freeze for SqlParam
impl RefUnwindSafe for SqlParam
impl Send for SqlParam
impl Sync for SqlParam
impl Unpin for SqlParam
impl UnwindSafe for SqlParam
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