pub enum ParameterValue {
}Available on crate feature
mysql only.Expand description
Values used in parameterized queries
Variants§
Boolean(bool)
Int8(i8)
Int16(i16)
Int32(i32)
Int64(i64)
Uint8(u8)
Uint16(u16)
Uint32(u32)
Uint64(u64)
Floating32(f32)
Floating64(f64)
Str(String)
Binary(Vec<u8>)
DbNull
Trait Implementations§
Source§impl Clone for ParameterValue
impl Clone for ParameterValue
Source§fn clone(&self) -> ParameterValue
fn clone(&self) -> ParameterValue
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterValue
impl Debug for ParameterValue
Source§impl From<String> for ParameterValue
impl From<String> for ParameterValue
Source§fn from(v: String) -> ParameterValue
fn from(v: String) -> ParameterValue
Converts to this type from the input type.
Source§impl From<bool> for ParameterValue
impl From<bool> for ParameterValue
Source§fn from(v: bool) -> ParameterValue
fn from(v: bool) -> ParameterValue
Converts to this type from the input type.
Source§impl From<f32> for ParameterValue
impl From<f32> for ParameterValue
Source§fn from(v: f32) -> ParameterValue
fn from(v: f32) -> ParameterValue
Converts to this type from the input type.
Source§impl From<f64> for ParameterValue
impl From<f64> for ParameterValue
Source§fn from(v: f64) -> ParameterValue
fn from(v: f64) -> ParameterValue
Converts to this type from the input type.
Source§impl From<i8> for ParameterValue
impl From<i8> for ParameterValue
Source§fn from(v: i8) -> ParameterValue
fn from(v: i8) -> ParameterValue
Converts to this type from the input type.
Source§impl From<i16> for ParameterValue
impl From<i16> for ParameterValue
Source§fn from(v: i16) -> ParameterValue
fn from(v: i16) -> ParameterValue
Converts to this type from the input type.
Source§impl From<i32> for ParameterValue
impl From<i32> for ParameterValue
Source§fn from(v: i32) -> ParameterValue
fn from(v: i32) -> ParameterValue
Converts to this type from the input type.
Source§impl From<i64> for ParameterValue
impl From<i64> for ParameterValue
Source§fn from(v: i64) -> ParameterValue
fn from(v: i64) -> ParameterValue
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ParameterValue
impl RefUnwindSafe for ParameterValue
impl Send for ParameterValue
impl Sync for ParameterValue
impl Unpin for ParameterValue
impl UnsafeUnpin for ParameterValue
impl UnwindSafe for ParameterValue
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