[][src]Struct firestore_grpc_cloudrun::BatchGetDocumentsRequest

pub struct BatchGetDocumentsRequest {
    pub database: String,
    pub documents: Vec<String>,
    pub mask: Option<DocumentMask>,
    pub consistency_selector: Option<ConsistencySelector>,
}

The request for [Firestore.BatchGetDocuments][google.firestore.v1.Firestore.BatchGetDocuments].

Fields

database: String

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

documents: 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.

consistency_selector: Option<ConsistencySelector>

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

Trait Implementations

impl Clone for BatchGetDocumentsRequest[src]

impl Debug for BatchGetDocumentsRequest[src]

impl Default for BatchGetDocumentsRequest[src]

impl Message for BatchGetDocumentsRequest[src]

impl PartialEq<BatchGetDocumentsRequest> for BatchGetDocumentsRequest[src]

impl StructuralPartialEq for BatchGetDocumentsRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for BatchGetDocumentsRequest

impl Send for BatchGetDocumentsRequest

impl Sync for BatchGetDocumentsRequest

impl Unpin for BatchGetDocumentsRequest

impl UnwindSafe for BatchGetDocumentsRequest

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> 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> IntoRequest<T> for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 
[src]

impl<T> WithSubscriber for T[src]