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
sourceimpl 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
sourceimpl Clone for BodyReqBatch
impl Clone for BodyReqBatch
sourcefn clone(&self) -> BodyReqBatch
fn clone(&self) -> BodyReqBatch
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for BodyReqBatch
impl Debug for BodyReqBatch
sourceimpl FromCursor for BodyReqBatch
impl FromCursor for BodyReqBatch
sourceimpl PartialEq<BodyReqBatch> for BodyReqBatch
impl PartialEq<BodyReqBatch> for BodyReqBatch
sourcefn eq(&self, other: &BodyReqBatch) -> bool
fn eq(&self, other: &BodyReqBatch) -> bool
sourceimpl 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more