Struct google_firestore1_beta1::api::BatchGetDocumentsRequest[][src]

pub struct BatchGetDocumentsRequest {
    pub documents: Option<Vec<String>>,
    pub mask: Option<DocumentMask>,
    pub new_transaction: Option<TransactionOptions>,
    pub read_time: Option<String>,
    pub transaction: Option<String>,
}

The request for Firestore.BatchGetDocuments.

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).

Fields

documents: Option<Vec<String>>

The names of the documents to retrieve. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}. The request will fail if any of the document is not a child resource of the given database. Duplicate names will be elided.

mask: Option<DocumentMask>

The fields to return. If not set, returns all fields. If a document has a field that is not present in this mask, that field will not be returned in the response.

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<String>

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

transaction: Option<String>

Reads documents in a transaction.

Trait Implementations

impl Clone for BatchGetDocumentsRequest[src]

impl Debug for BatchGetDocumentsRequest[src]

impl Default for BatchGetDocumentsRequest[src]

impl<'de> Deserialize<'de> for BatchGetDocumentsRequest[src]

impl RequestValue for BatchGetDocumentsRequest[src]

impl Serialize for BatchGetDocumentsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchGetDocumentsRequest[src]

impl Send for BatchGetDocumentsRequest[src]

impl Sync for BatchGetDocumentsRequest[src]

impl Unpin for BatchGetDocumentsRequest[src]

impl UnwindSafe for BatchGetDocumentsRequest[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.