Struct datastore_grpc::google::datastore::v1beta3::TransactionOptions[][src]

pub struct TransactionOptions {
    pub mode: Option<Mode>,
}

Options for beginning a new transaction.

Transactions can be created explicitly with calls to [Datastore.BeginTransaction][google.datastore.v1beta3.Datastore.BeginTransaction] or implicitly by setting [ReadOptions.new_transaction][google.datastore.v1beta3.ReadOptions.new_transaction] in read requests.

Fields

mode: Option<Mode>

The mode of the transaction, indicating whether write operations are supported.

Trait Implementations

impl Clone for TransactionOptions[src]

impl Debug for TransactionOptions[src]

impl Default for TransactionOptions[src]

impl Message for TransactionOptions[src]

impl PartialEq<TransactionOptions> for TransactionOptions[src]

impl StructuralPartialEq for TransactionOptions[src]

Auto Trait Implementations

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>, 

impl<T> WithSubscriber for T[src]