Enum mysql_async::Params
source · pub enum Params {
Empty,
Named(HashMap<String, Value, BuildHasherDefault<XxHash64>>),
Positional(SmallVec<[Value; 12]>),
}
Expand description
Representations of parameters of a prepared statement.
Variants§
Empty
Named(HashMap<String, Value, BuildHasherDefault<XxHash64>>)
Positional(SmallVec<[Value; 12]>)
Implementations§
Trait Implementations§
source§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 Paramswhere
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>,
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 Paramswhere
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>,
source§fn from(x: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Params
fn from(x: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Params
Converts to this type from the input type.
source§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 Paramswhere
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>,
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 Paramswhere
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>,
source§fn from(x: (A, B, C, D, E, F, G, H, I, J, K)) -> Params
fn from(x: (A, B, C, D, E, F, G, H, I, J, K)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Paramswhere
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>,
impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Paramswhere
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>,
source§fn from(x: (A, B, C, D, E, F, G, H, I, J)) -> Params
fn from(x: (A, B, C, D, E, F, G, H, I, J)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Paramswhere
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>,
impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Paramswhere
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>,
source§fn from(x: (A, B, C, D, E, F, G, H, I)) -> Params
fn from(x: (A, B, C, D, E, F, G, H, I)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
F: Into<Value>,
G: Into<Value>,
H: Into<Value>,
impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
F: Into<Value>,
G: Into<Value>,
H: Into<Value>,
source§fn from(x: (A, B, C, D, E, F, G, H)) -> Params
fn from(x: (A, B, C, D, E, F, G, H)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
F: Into<Value>,
G: Into<Value>,
impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
F: Into<Value>,
G: Into<Value>,
source§fn from(x: (A, B, C, D, E, F, G)) -> Params
fn from(x: (A, B, C, D, E, F, G)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
F: Into<Value>,
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
F: Into<Value>,
source§fn from(x: (A, B, C, D, E, F)) -> Params
fn from(x: (A, B, C, D, E, F)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D, E> From<(A, B, C, D, E)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
impl<A, B, C, D, E> From<(A, B, C, D, E)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
E: Into<Value>,
source§fn from(x: (A, B, C, D, E)) -> Params
fn from(x: (A, B, C, D, E)) -> Params
Converts to this type from the input type.
source§impl<A, B, C, D> From<(A, B, C, D)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
impl<A, B, C, D> From<(A, B, C, D)> for Paramswhere
A: Into<Value>,
B: Into<Value>,
C: Into<Value>,
D: Into<Value>,
source§fn from(x: (A, B, C, D)) -> Params
fn from(x: (A, B, C, D)) -> Params
Converts to this type from the input type.