Struct cdrs::frame::frame_batch::BatchQuery [−][src]
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 Debug for BatchQuery
[src]
impl Debug for BatchQuery
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Clone for BatchQuery
[src]
impl Clone for BatchQuery
fn clone(&self) -> BatchQuery
[src]
fn clone(&self) -> BatchQuery
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl IntoBytes for BatchQuery
[src]
impl IntoBytes for BatchQuery
fn into_cbytes(&self) -> Vec<u8>
[src]
fn into_cbytes(&self) -> Vec<u8>
It should convert a struct into an array of bytes.
Auto Trait Implementations
impl Send for BatchQuery
impl Send for BatchQuery
impl Sync for BatchQuery
impl Sync for BatchQuery