pub struct BeginTransactionRequest {
pub mutation_key: Option<Mutation>,
pub options: Option<TransactionOptions>,
pub request_options: Option<RequestOptions>,
}Expand description
The request for BeginTransaction.
§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§
§mutation_key: Option<Mutation>Optional. Required for read-write transactions on a multiplexed session that commit mutations but don’t perform any reads or queries. You must randomly select one of the mutations from the mutation set and send it as a part of this request.
options: Option<TransactionOptions>Required. Options for the new transaction.
request_options: Option<RequestOptions>Common options for this request. Priority is ignored for this request. Setting the priority in this request_options struct doesn’t do anything. To set the priority for a transaction, set it on the reads and writes that are part of this transaction instead.
Trait Implementations§
Source§impl Clone for BeginTransactionRequest
impl Clone for BeginTransactionRequest
Source§fn clone(&self) -> BeginTransactionRequest
fn clone(&self) -> BeginTransactionRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more