[][src]Struct google_firestore1_beta1::BatchGetDocumentsRequest

pub struct BatchGetDocumentsRequest {
    pub new_transaction: Option<TransactionOptions>,
    pub transaction: Option<String>,
    pub mask: Option<DocumentMask>,
    pub documents: Option<Vec<String>>,
    pub read_time: 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

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.

transaction: Option<String>

Reads documents in a transaction.

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.

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.

read_time: Option<String>

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

Trait Implementations

impl RequestValue for BatchGetDocumentsRequest[src]

impl Default for BatchGetDocumentsRequest[src]

impl Clone for BatchGetDocumentsRequest[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Debug for BatchGetDocumentsRequest[src]

impl Serialize for BatchGetDocumentsRequest[src]

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

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

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.

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

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

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

impl<T> Typeable for T where
    T: Any

fn get_type(&self) -> TypeId

Get the TypeId of this object.

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