pub struct RunQueryRequest {
pub explain_options: Option<ExplainOptions>,
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§
§explain_options: Option<ExplainOptions>
Optional. Explain options for the query. If set, additional query statistics will be returned. If not, only query results will be returned.
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 moreSource§impl Debug for RunQueryRequest
impl Debug for RunQueryRequest
Source§impl Default for RunQueryRequest
impl Default for RunQueryRequest
Source§fn default() -> RunQueryRequest
fn default() -> RunQueryRequest
Source§impl<'de> Deserialize<'de> for RunQueryRequest
impl<'de> Deserialize<'de> for RunQueryRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Serialize for RunQueryRequest
impl Serialize for RunQueryRequest
impl RequestValue for RunQueryRequest
Auto Trait Implementations§
impl Freeze for RunQueryRequest
impl RefUnwindSafe for RunQueryRequest
impl Send for RunQueryRequest
impl Sync for RunQueryRequest
impl Unpin for RunQueryRequest
impl UnwindSafe for RunQueryRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more