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.

Fields

The transaction should allow both reads and writes.

The transaction should only allow reads.

Trait Implementations

impl Default for TransactionOptions
[src]

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

impl Clone for TransactionOptions
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TransactionOptions
[src]

Formats the value using the given formatter. Read more

impl Part for TransactionOptions
[src]

Auto Trait Implementations