Enum mysql_async::Params [−][src]
Representations of parameters of a prepared statement.
Variants
Named(HashMap<String, Value, BuildHasherDefault<XxHash64>>)
Implementations
impl Params
[src]
pub fn into_positional(
self,
named_params: &[String]
) -> Result<Params, MissingNamedParameterError>
[src]
self,
named_params: &[String]
) -> Result<Params, MissingNamedParameterError>
Will convert named parameters into positional assuming order passed in named_params
attribute.
Trait Implementations
impl Clone for Params
[src]
impl Debug for Params
[src]
impl<'a> From<&'a [&'a (dyn ToValue + 'a)]> for Params
[src]
impl<'a, T> From<&'a T> for Params where
T: Clone + Into<Params>,
[src]
T: Clone + Into<Params>,
impl From<()> for Params
[src]
impl<A, B, C, D, E, F, G, H, I, J, K, L> From<(A, B, C, D, E, F, G, H, I, J, K, L)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
K: Into<Value>,
H: Into<Value>,
D: Into<Value>,
L: Into<Value>,
G: Into<Value>,
J: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
K: Into<Value>,
H: Into<Value>,
D: Into<Value>,
L: Into<Value>,
G: Into<Value>,
J: Into<Value>,
impl<A, B, C, D, E, F, G, H, I, J, K> From<(A, B, C, D, E, F, G, H, I, J, K)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
K: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
J: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
K: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
J: Into<Value>,
impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
J: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
J: Into<Value>,
impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
I: Into<Value>,
B: Into<Value>,
E: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
H: Into<Value>,
D: Into<Value>,
G: Into<Value>,
impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
D: Into<Value>,
G: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
D: Into<Value>,
G: Into<Value>,
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Params where
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
D: Into<Value>,
[src]
C: Into<Value>,
F: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
D: Into<Value>,
impl<A, B, C, D, E> From<(A, B, C, D, E)> for Params where
C: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
D: Into<Value>,
[src]
C: Into<Value>,
A: Into<Value>,
B: Into<Value>,
E: Into<Value>,
D: Into<Value>,
impl<A, B, C, D> From<(A, B, C, D)> for Params where
C: Into<Value>,
A: Into<Value>,
B: Into<Value>,
D: Into<Value>,
[src]
C: Into<Value>,
A: Into<Value>,
B: Into<Value>,
D: Into<Value>,
impl<A, B, C> From<(A, B, C)> for Params where
C: Into<Value>,
A: Into<Value>,
B: Into<Value>,
[src]
C: Into<Value>,
A: Into<Value>,
B: Into<Value>,
impl<A, B> From<(A, B)> for Params where
A: Into<Value>,
B: Into<Value>,
[src]
A: Into<Value>,
B: Into<Value>,
impl<A> From<(A,)> for Params where
A: Into<Value>,
[src]
A: Into<Value>,
impl<N, V> From<Vec<(N, V), Global>> for Params where
String: From<N>,
Value: From<V>,
[src]
String: From<N>,
Value: From<V>,
impl<T> From<Vec<T, Global>> for Params where
Value: From<T>,
[src]
Value: From<T>,
impl PartialEq<Params> for Params
[src]
impl StructuralPartialEq for Params
[src]
Auto Trait Implementations
impl RefUnwindSafe for Params
[src]
impl Send for Params
[src]
impl Sync for Params
[src]
impl Unpin for Params
[src]
impl UnwindSafe for Params
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,