Struct discord_cassandra_cpp::Batch[][src]

pub struct Batch<T = Bound>(_, _);
Expand description

A group of statements that are executed as a single batch. Note: Batches are not supported by the binary protocol version 1.

Implementations

Returns the session of which this batch is bound to.

Executes this batch.

Sets the batch’s consistency level

Sets the batch’s serial consistency level.

Default: Not set

Sets the batch’s timestamp.

Sets the batch’s retry policy.

Sets the batch’s custom payload.

Adds a statement to a batch.

Trait Implementations

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.