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
read_write: Option<ReadWrite>
The transaction should allow both reads and writes.
read_only: Option<ReadOnly>
The transaction should only allow reads.
Trait Implementations
impl Default for TransactionOptions
[src]
impl Default for TransactionOptions
fn default() -> TransactionOptions
[src]
fn default() -> TransactionOptions
Returns the "default value" for a type. Read more
impl Clone for TransactionOptions
[src]
impl Clone for TransactionOptions
fn clone(&self) -> TransactionOptions
[src]
fn clone(&self) -> TransactionOptions
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Debug for TransactionOptions
[src]
impl Debug for TransactionOptions
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Part for TransactionOptions
[src]
impl Part for TransactionOptions
Auto Trait Implementations
impl Send for TransactionOptions
impl Send for TransactionOptions
impl Sync for TransactionOptions
impl Sync for TransactionOptions