Enum mysql::Params [] [src]

pub enum Params {
    Empty,
    Named(HashMap<String, Value, BldHshrDflt<FnvHasher>>),
    Positional(Vec<Value>),
}

Variants

Empty
Named
Positional

Trait Implementations

impl<'a, T: Into<Params> + Clone> From<&'a T> for Params

fn from(x: &'a T) -> Params

impl<T: Into<Value>> From<Vec<T>> for Params

fn from(x: Vec<T>) -> Params

impl<'a> From<&'a [&'a ToValue]> for Params

fn from(x: &'a [&'a ToValue]) -> Params

impl From<()> for Params

fn from(_: ()) -> Params

impl<A: Into<Value>> From<(A,)> for Params

fn from(x: (A,)) -> Params

impl<A: Into<Value>, B: Into<Value>> From<(A, B)> for Params

fn from(x: (A, B)) -> Params

impl<A: Into<Value>, B: Into<Value>, C: Into<Value>> From<(A, B, C)> for Params

fn from(x: (A, B, C)) -> Params

impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>> From<(A, B, C, D)> for Params

fn from(x: (A, B, C, D)) -> Params

impl<A: Into<Value>, B: Into<Value>, C: Into<Value>, D: Into<Value>, E: Into<Value>> From<(A, B, C, D, E)> for Params

fn from(x: (A, B, C, D, E)) -> Params

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

fn from(x: (A, B, C, D, E, F)) -> Params

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

fn from(x: (A, B, C, D, E, F, G)) -> Params

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

fn from(x: (A, B, C, D, E, F, G, H)) -> Params

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

fn from(x: (A, B, C, D, E, F, G, H, I)) -> Params

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

fn from(x: (A, B, C, D, E, F, G, H, I, J)) -> Params

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

fn from(x: (A, B, C, D, E, F, G, H, I, J, K)) -> Params

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

fn from(x: (A, B, C, D, E, F, G, H, I, J, K, L)) -> Params

Derived Implementations

impl Debug for Params

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Clone for Params

fn clone(&self) -> Params

fn clone_from(&mut self, source: &Self)

impl PartialEq for Params

fn eq(&self, __arg_0: &Params) -> bool

fn ne(&self, __arg_0: &Params) -> bool