Enum mysql_macro::Params
pub enum Params {
Empty,
Named(HashMap<Vec<u8>, Value>),
Positional(Vec<Value>),
}Expand description
Representations of parameters of a prepared statement.
Variants§
Implementations§
Trait Implementations§
§impl<A, B, C, D> From<(A, B, C, D)> for Params
impl<A, B, C, D> From<(A, B, C, D)> for Params
§fn from(x: (A, B, C, D)) -> Params
fn from(x: (A, B, C, D)) -> Params
Converts to this type from the input type.
§impl<A, B, C, D, E> From<(A, B, C, D, E)> for Params
impl<A, B, C, D, E> From<(A, B, C, D, E)> for Params
§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.
§impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Params
impl<A, B, C, D, E, F> From<(A, B, C, D, E, F)> for Params
§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.
§impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Params
impl<A, B, C, D, E, F, G> From<(A, B, C, D, E, F, G)> for Params
§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.
§impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Params
impl<A, B, C, D, E, F, G, H> From<(A, B, C, D, E, F, G, H)> for Params
§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.
§impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Params
impl<A, B, C, D, E, F, G, H, I> From<(A, B, C, D, E, F, G, H, I)> for Params
§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.
§impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Params
impl<A, B, C, D, E, F, G, H, I, J> From<(A, B, C, D, E, F, G, H, I, J)> for Params
§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.
§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
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
§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.
§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
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
§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.
impl StructuralPartialEq for Params
Auto Trait Implementations§
impl RefUnwindSafe for Params
impl Send for Params
impl Sync for Params
impl Unpin for Params
impl UnwindSafe for Params
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