Struct google_firestore1_beta1::api::RunQueryRequest
source · pub struct RunQueryRequest {
pub new_transaction: Option<TransactionOptions>,
pub read_time: Option<DateTime<Utc>>,
pub structured_query: Option<StructuredQuery>,
pub transaction: Option<Vec<u8>>,
}
Expand description
The request for Firestore.RunQuery.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- databases documents run query projects (request)
Fields§
§new_transaction: Option<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.
read_time: Option<DateTime<Utc>>
Reads documents as they were at the given time. This must be a microsecond precision timestamp within the past one hour, or if Point-in-Time Recovery is enabled, can additionally be a whole minute timestamp within the past 7 days.
structured_query: Option<StructuredQuery>
A structured query.
transaction: Option<Vec<u8>>
Run the query within an already active transaction. The value here is the opaque transaction ID to execute the query in.
Trait Implementations§
source§impl Clone for RunQueryRequest
impl Clone for RunQueryRequest
source§fn clone(&self) -> RunQueryRequest
fn clone(&self) -> RunQueryRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more