pub struct ExecuteBatchDmlRequest {
pub request_options: Option<RequestOptions>,
pub seqno: Option<i64>,
pub statements: Option<Vec<Statement>>,
pub transaction: Option<TransactionSelector>,
}
Expand description
The request for ExecuteBatchDml.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
Fields§
§request_options: Option<RequestOptions>
Common options for this request.
seqno: Option<i64>
Required. A per-transaction sequence number used to identify this request. This field makes each request idempotent such that if the request is received multiple times, at most one will succeed. The sequence number must be monotonically increasing within the transaction. If a request arrives for the first time with an out-of-order sequence number, the transaction may be aborted. Replays of previously handled requests will yield the same response as the first execution.
statements: Option<Vec<Statement>>
Required. The list of statements to execute in this batch. Statements are executed serially, such that the effects of statement i
are visible to statement i+1
. Each statement must be a DML statement. Execution stops at the first failed statement; the remaining statements are not executed. Callers must provide at least one statement.
transaction: Option<TransactionSelector>
Required. The transaction to use. Must be a read-write transaction. To protect against replays, single-use transactions are not supported. The caller must either supply an existing transaction ID or begin a new transaction.
Trait Implementations§
Source§impl Clone for ExecuteBatchDmlRequest
impl Clone for ExecuteBatchDmlRequest
Source§fn clone(&self) -> ExecuteBatchDmlRequest
fn clone(&self) -> ExecuteBatchDmlRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExecuteBatchDmlRequest
impl Debug for ExecuteBatchDmlRequest
Source§impl Default for ExecuteBatchDmlRequest
impl Default for ExecuteBatchDmlRequest
Source§fn default() -> ExecuteBatchDmlRequest
fn default() -> ExecuteBatchDmlRequest
Source§impl<'de> Deserialize<'de> for ExecuteBatchDmlRequest
impl<'de> Deserialize<'de> for ExecuteBatchDmlRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for ExecuteBatchDmlRequest
impl Serialize for ExecuteBatchDmlRequest
impl RequestValue for ExecuteBatchDmlRequest
Auto Trait Implementations§
impl Freeze for ExecuteBatchDmlRequest
impl RefUnwindSafe for ExecuteBatchDmlRequest
impl Send for ExecuteBatchDmlRequest
impl Sync for ExecuteBatchDmlRequest
impl Unpin for ExecuteBatchDmlRequest
impl UnwindSafe for ExecuteBatchDmlRequest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
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>
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