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 const 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 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 BodyReqBatch
impl Debug for BodyReqBatch
Source§impl FromCursor for BodyReqBatch
impl FromCursor for BodyReqBatch
Source§impl PartialEq for BodyReqBatch
impl PartialEq for BodyReqBatch
Source§impl Serialize for BodyReqBatch
impl Serialize for BodyReqBatch
impl Eq for BodyReqBatch
impl StructuralPartialEq for BodyReqBatch
Auto Trait Implementations§
impl Freeze for BodyReqBatch
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more