pub struct BatchQuery {
pub is_prepared: bool,
pub subject: BatchQuerySubj,
pub values: QueryValues,
}
Expand description
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§
Source§impl Clone for BatchQuery
impl Clone for BatchQuery
Source§fn clone(&self) -> BatchQuery
fn clone(&self) -> BatchQuery
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BatchQuery
impl Debug for BatchQuery
Source§impl IntoBytes for BatchQuery
impl IntoBytes for BatchQuery
Auto Trait Implementations§
impl Freeze for BatchQuery
impl RefUnwindSafe for BatchQuery
impl Send for BatchQuery
impl Sync for BatchQuery
impl Unpin for BatchQuery
impl UnwindSafe for BatchQuery
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more