[][src]Struct firestore_grpc_cloudrun::UpdateDocumentRequest

pub struct UpdateDocumentRequest {
    pub document: Option<Document>,
    pub update_mask: Option<DocumentMask>,
    pub mask: Option<DocumentMask>,
    pub current_document: Option<Precondition>,
}

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

Fields

document: Option<Document>

Required. The updated document. Creates the document if it does not already exist.

update_mask: Option<DocumentMask>

The fields to update. None of the field paths in the mask may contain a reserved name.

If the document exists on the server and has fields not referenced in the mask, they are left unchanged. Fields referenced in the mask, but not present in the input document, are deleted from the document on the server.

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.

current_document: Option<Precondition>

An optional precondition on the document. The request will fail if this is set and not met by the target document.

Trait Implementations

impl Clone for UpdateDocumentRequest[src]

impl Debug for UpdateDocumentRequest[src]

impl Default for UpdateDocumentRequest[src]

impl Message for UpdateDocumentRequest[src]

impl PartialEq<UpdateDocumentRequest> for UpdateDocumentRequest[src]

impl StructuralPartialEq for UpdateDocumentRequest[src]

Auto Trait Implementations

impl RefUnwindSafe for UpdateDocumentRequest

impl Send for UpdateDocumentRequest

impl Sync for UpdateDocumentRequest

impl Unpin for UpdateDocumentRequest

impl UnwindSafe for UpdateDocumentRequest

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]