Struct cassandra_protocol::frame::message_batch::BodyReqBatch
source · pub struct BodyReqBatch {
pub batch_type: BatchType,
pub queries: Vec<BatchQuery>,
pub consistency: Consistency,
pub serial_consistency: Option<Consistency>,
pub timestamp: Option<CLong>,
pub keyspace: Option<String>,
pub now_in_seconds: Option<CInt>,
}
Fields§
§batch_type: BatchType
§queries: Vec<BatchQuery>
§consistency: Consistency
§serial_consistency: Option<Consistency>
§timestamp: Option<CLong>
§keyspace: Option<String>
§now_in_seconds: Option<CInt>
Implementations§
source§impl BodyReqBatch
impl BodyReqBatch
pub fn new( batch_type: BatchType, queries: Vec<BatchQuery>, consistency: Consistency, serial_consistency: Option<Consistency>, timestamp: Option<CLong>, keyspace: Option<String>, now_in_seconds: Option<CInt> ) -> BodyReqBatch
Trait Implementations§
source§impl Clone for BodyReqBatch
impl Clone for BodyReqBatch
source§fn clone(&self) -> BodyReqBatch
fn clone(&self) -> BodyReqBatch
Returns a copy 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 BodyReqBatch
impl Debug for BodyReqBatch
source§impl FromCursor for BodyReqBatch
impl FromCursor for BodyReqBatch
source§impl PartialEq<BodyReqBatch> for BodyReqBatch
impl PartialEq<BodyReqBatch> for BodyReqBatch
source§fn eq(&self, other: &BodyReqBatch) -> bool
fn eq(&self, other: &BodyReqBatch) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.