Struct google_datastore1::TransactionOptions[][src]

pub struct TransactionOptions {
    pub read_write: Option<ReadWrite>,
    pub read_only: Option<ReadOnly>,

Options for beginning a new transaction.

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

This type is not used in any activity, and only used as part of another schema.


The transaction should allow both reads and writes.

The transaction should only allow reads.

Trait Implementations

impl Default for TransactionOptions

Returns the "default value" for a type. Read more

impl Clone for TransactionOptions

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TransactionOptions

Formats the value using the given formatter. Read more

impl Part for TransactionOptions

Auto Trait Implementations