[−][src]Enum mysql_common::params::Params
Representations of parameters of a prepared statement.
Variants
Empty
Named(HashMap<String, Value, BuildHasherDefault<XxHash>>)
Positional(Vec<Value>)
Methods
impl Params
[src]
pub fn into_positional(
self,
named_params: &Vec<String>
) -> Result<Params, MissingNamedParameterError>
[src]
self,
named_params: &Vec<String>
) -> Result<Params, MissingNamedParameterError>
Will convert named parameters into positional assuming order passed in named_params
attribute.
Trait Implementations
impl<'a, T: Into<Params> + Clone> From<&'a T> for Params
[src]
impl<T> From<Vec<T>> for Params where
Value: From<T>,
[src]
Value: From<T>,
impl<N, V> From<Vec<(N, V)>> for Params where
String: From<N>,
Value: From<V>,
[src]
String: From<N>,
Value: From<V>,
impl<'a> From<&'a [&'a (dyn ToValue + 'a)]> for Params
[src]
impl From<()> for Params
[src]
impl<A: Into<Value>> From<(A,)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>> From<(A, B)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>> From<(A, B, C)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>> From<(A, B, C, D)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>> From<(A, B, C, D, E)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>> From<(A, B, C, D, E, F)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>, G: Into<Value>> From<(A, B, C, D, E, F, G)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>, G: Into<Value>, H: Into<Value>> From<(A, B, C, D, E, F, G, H)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>, G: Into<Value>, H: Into<Value>, I: Into<Value>> From<(A, B, C, D, E, F, G, H, I)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>, G: Into<Value>, H: Into<Value>, I: Into<Value>, J: Into<Value>> From<(A, B, C, D, E, F, G, H, I, J)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>, G: Into<Value>, H: Into<Value>, I: Into<Value>, J: Into<Value>, K: Into<Value>> From<(A, B, C, D, E, F, G, H, I, J, K)> for Params
[src]
impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>, F: Into<Value>, G: Into<Value>, H: Into<Value>, I: Into<Value>, J: Into<Value>, K: Into<Value>, L: Into<Value>> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Params
[src]
impl Clone for Params
[src]
fn clone(&self) -> Params
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<Params> for Params
[src]
impl Debug for Params
[src]
Auto Trait Implementations
impl Unpin for Params
impl Send for Params
impl Sync for Params
impl RefUnwindSafe for Params
impl UnwindSafe for Params
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> Same<T> for T
type Output = T
Should always be Self