Struct cassandra_protocol::frame::frame_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>,
}
Expand description
BodyResReady
Fields
batch_type: BatchType
queries: Vec<BatchQuery>
consistency: Consistency
serial_consistency: Option<Consistency>
timestamp: Option<CLong>
Implementations
sourceimpl BodyReqBatch
impl BodyReqBatch
pub fn new(
batch_type: BatchType,
queries: Vec<BatchQuery>,
consistency: Consistency,
serial_consistency: Option<Consistency>,
timestamp: Option<CLong>
) -> 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 more
sourceimpl 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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &BodyReqBatch) -> bool
fn ne(&self, other: &BodyReqBatch) -> bool
This method tests for !=
.
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 T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more