[][src]Struct mysql::QueryWithParams

pub struct QueryWithParams<Q, P> {
    pub query: Q,
    pub params: P,
}

Representaion of a prepared statement query.

See BinQuery for details.

Fields

query: Qparams: P

Trait Implementations

impl<Q, I, P> BatchQuery for QueryWithParams<Q, I> where
    Q: AsStatement,
    I: IntoIterator<Item = P>,
    P: Into<Params>, 
[src]

fn batch<'a, 'b, 'c: 'b, C>(self, conn: C) -> Result<()> where
    C: TryInto<ConnMut<'a, 'b, 'c>>,
    Error: From<<C as TryInto<ConnMut<'a, 'b, 'c>>>::Error>, 
[src]

This methods corresponds to Queryable::exec_batch.

impl<Q, P> BinQuery for QueryWithParams<Q, P> where
    Q: AsStatement,
    P: Into<Params>, 
[src]

impl<Q: Clone, P: Clone> Clone for QueryWithParams<Q, P>[src]

impl<Q: Debug, P: Debug> Debug for QueryWithParams<Q, P>[src]

impl<Q: Eq, P: Eq> Eq for QueryWithParams<Q, P>[src]

impl<Q: PartialEq, P: PartialEq> PartialEq<QueryWithParams<Q, P>> for QueryWithParams<Q, P>[src]

impl<Q, P> StructuralEq for QueryWithParams<Q, P>[src]

impl<Q, P> StructuralPartialEq for QueryWithParams<Q, P>[src]

Auto Trait Implementations

impl<Q, P> RefUnwindSafe for QueryWithParams<Q, P> where
    P: RefUnwindSafe,
    Q: RefUnwindSafe

impl<Q, P> Send for QueryWithParams<Q, P> where
    P: Send,
    Q: Send

impl<Q, P> Sync for QueryWithParams<Q, P> where
    P: Sync,
    Q: Sync

impl<Q, P> Unpin for QueryWithParams<Q, P> where
    P: Unpin,
    Q: Unpin

impl<Q, P> UnwindSafe for QueryWithParams<Q, P> where
    P: UnwindSafe,
    Q: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,