[][src]Struct firestore_grpc_cloudrun::GetDocumentRequest

pub struct GetDocumentRequest {
    pub name: String,
    pub mask: Option<DocumentMask>,
    pub consistency_selector: Option<ConsistencySelector>,
}

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

Fields

name: String

Required. The resource name of the Document to get. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}.

mask: Option<DocumentMask>

The fields to return. If not set, returns all fields.

If the 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 GetDocumentRequest[src]

impl Debug for GetDocumentRequest[src]

impl Default for GetDocumentRequest[src]

impl Message for GetDocumentRequest[src]

impl PartialEq<GetDocumentRequest> for GetDocumentRequest[src]

impl StructuralPartialEq for GetDocumentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for GetDocumentRequest

impl Send for GetDocumentRequest

impl Sync for GetDocumentRequest

impl Unpin for GetDocumentRequest

impl UnwindSafe for GetDocumentRequest

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]