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 TransactionOptionsfn default() -> TransactionOptions[src]
fn default() -> TransactionOptionsReturns the "default value" for a type. Read more
impl Clone for TransactionOptions[src]
impl Clone for TransactionOptionsfn clone(&self) -> TransactionOptions[src]
fn clone(&self) -> TransactionOptionsReturns 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 TransactionOptionsfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Part for TransactionOptions[src]
impl Part for TransactionOptionsAuto Trait Implementations
impl Send for TransactionOptions
impl Send for TransactionOptionsimpl Sync for TransactionOptions
impl Sync for TransactionOptions