Enum googapis::google::firestore::v1beta1::run_query_request::ConsistencySelector[][src]

pub enum ConsistencySelector {
    Transaction(Vec<u8>),
    NewTransaction(TransactionOptions),
    ReadTime(Timestamp),
}
Expand description

The consistency mode for this transaction. If not set, defaults to strong consistency.

Variants

Transaction(Vec<u8>)

Reads documents in a transaction.

Tuple Fields of Transaction

0: Vec<u8>
NewTransaction(TransactionOptions)

Starts a new transaction and reads the documents. Defaults to a read-only transaction. The new transaction ID will be returned as the first response in the stream.

Tuple Fields of NewTransaction

0: TransactionOptions
ReadTime(Timestamp)

Reads documents as they were at the given time. This may not be older than 270 seconds.

Tuple Fields of ReadTime

0: Timestamp

Implementations

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Wrap the input message T in a tonic::Request

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more