Struct gapi_grpc::google::spanner::v1::CommitRequest[][src]

pub struct CommitRequest {
    pub session: String,
    pub mutations: Vec<Mutation>,
    pub return_commit_stats: bool,
    pub request_options: Option<RequestOptions>,
    pub transaction: Option<Transaction>,
}

The request for [Commit][google.spanner.v1.Spanner.Commit].

Fields

session: String

Required. The session in which the transaction to be committed is running.

mutations: Vec<Mutation>

The mutations to be executed when this transaction commits. All mutations are applied atomically, in the order they appear in this list.

return_commit_stats: bool

If true, then statistics related to the transaction will be included in the [CommitResponse][google.spanner.v1.CommitResponse.commit_stats]. Default value is false.

request_options: Option<RequestOptions>

Common options for this request.

transaction: Option<Transaction>

Required. The transaction in which to commit.

Trait Implementations

impl Clone for CommitRequest[src]

impl Debug for CommitRequest[src]

impl Default for CommitRequest[src]

impl Message for CommitRequest[src]

impl PartialEq<CommitRequest> for CommitRequest[src]

impl StructuralPartialEq for CommitRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for CommitRequest

impl Send for CommitRequest

impl Sync for CommitRequest

impl Unpin for CommitRequest

impl UnwindSafe for CommitRequest

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoRequest<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]