[][src]Struct cdrs_tokio::frame::frame_batch::BatchQuery

pub struct BatchQuery {
    pub is_prepared: bool,
    pub subject: BatchQuerySubj,
    pub values: QueryValues,
}

The structure that represents a query to be batched.

Fields

is_prepared: bool

It indicates if a query was prepared.

subject: BatchQuerySubj

It contains either id of prepared query of a query itself.

values: QueryValues

It is the optional name of the following <value_i>. It must be present if and only if the 0x40 flag is provided for the batch. Important note: this feature does not work and should not be used. It is specified in a way that makes it impossible for the server to implement. This will be fixed in a future version of the native protocol. See https://issues.apache.org/jira/browse/CASSANDRA-10246 for more details

Trait Implementations

impl Clone for BatchQuery[src]

impl Debug for BatchQuery[src]

impl IntoBytes for BatchQuery[src]

Auto Trait Implementations

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> 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.