Enum mysql::value::Params [] [src]

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

Variants

EmptyNamed(HashMap<StringValueBldHshrDflt<FnvHasher>>)Positional(Vec<Value>)

Methods

impl Params
[src]

fn into_positional(self, named_params: &Vec<String>) -> MyResult<Params>

Trait Implementations

impl Debug for Params
[src]

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

Formats the value using the given formatter.

impl Clone for Params
[src]

fn clone(&self) -> Params

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl PartialEq for Params
[src]

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

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

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

Performs the conversion.

impl<T: Into<Value>> From<Vec<T>> for Params
[src]

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

Performs the conversion.

impl<N: Into<String>, V: Into<Value>> From<Vec<(N, V)>> for Params
[src]

fn from(x: Vec<(N, V)>) -> Params

Performs the conversion.

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

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

Performs the conversion.

impl From<()> for Params
[src]

fn from(_: ()) -> Params

Performs the conversion.

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

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

Performs the conversion.

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

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

Performs the conversion.

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

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

Performs the conversion.

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

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.

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]

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

Performs the conversion.