pub struct Batch<'b, Statement, Values>{
pub statements: Cow<'b, [Statement]>,
pub batch_type: BatchType,
pub consistency: Consistency,
pub serial_consistency: Option<SerialConsistency>,
pub timestamp: Option<i64>,
pub values: Values,
}Fields§
§statements: Cow<'b, [Statement]>§batch_type: BatchType§consistency: Consistency§serial_consistency: Option<SerialConsistency>§timestamp: Option<i64>§values: ValuesTrait Implementations§
Source§impl<'b> DeserializableRequest for Batch<'b, BatchStatement<'b>, Vec<SerializedValues>>
impl<'b> DeserializableRequest for Batch<'b, BatchStatement<'b>, Vec<SerializedValues>>
fn deserialize( buf: &mut &[u8], ) -> Result<Batch<'b, BatchStatement<'b>, Vec<SerializedValues>>, ParseError>
Source§impl<Statement, Values> SerializableRequest for Batch<'_, Statement, Values>
impl<Statement, Values> SerializableRequest for Batch<'_, Statement, Values>
Auto Trait Implementations§
impl<'b, Statement, Values> Freeze for Batch<'b, Statement, Values>
impl<'b, Statement, Values> RefUnwindSafe for Batch<'b, Statement, Values>
impl<'b, Statement, Values> Send for Batch<'b, Statement, Values>
impl<'b, Statement, Values> Sync for Batch<'b, Statement, Values>
impl<'b, Statement, Values> Unpin for Batch<'b, Statement, Values>
impl<'b, Statement, Values> UnwindSafe for Batch<'b, Statement, Values>
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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