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 ==
.source§impl Serialize for BodyReqBatch
impl Serialize for BodyReqBatch
impl Eq for BodyReqBatch
impl StructuralEq for BodyReqBatch
impl StructuralPartialEq for BodyReqBatch
Auto Trait Implementations§
impl RefUnwindSafe for BodyReqBatch
impl Send for BodyReqBatch
impl Sync for BodyReqBatch
impl Unpin for BodyReqBatch
impl UnwindSafe for BodyReqBatch
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