Struct gapi_grpc::google::firestore::v1::CreateDocumentRequest [−][src]
The request for [Firestore.CreateDocument][google.firestore.v1.Firestore.CreateDocument].
Fields
parent: String
Required. The parent resource. For example:
projects/{project_id}/databases/{database_id}/documents
or
projects/{project_id}/databases/{database_id}/documents/chatrooms/{chatroom_id}
collection_id: String
Required. The collection ID, relative to parent
, to list. For example: chatrooms
.
document_id: String
The client-assigned document ID to use for this document.
Optional. If not specified, an ID will be assigned by the service.
document: Option<Document>
Required. The document to create. name
must not be set.
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.
Trait Implementations
impl Clone for CreateDocumentRequest
[src][+]
impl Debug for CreateDocumentRequest
[src][+]
impl Default for CreateDocumentRequest
[src][+]
impl Message for CreateDocumentRequest
[src][+]
impl PartialEq<CreateDocumentRequest> for CreateDocumentRequest
[src][+]
impl StructuralPartialEq for CreateDocumentRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateDocumentRequest
impl Send for CreateDocumentRequest
impl Sync for CreateDocumentRequest
impl Unpin for CreateDocumentRequest
impl UnwindSafe for CreateDocumentRequest
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src][+]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T> Instrument for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T> IntoRequest<T> for T
[src][+]
impl<T> ToOwned for T where
T: Clone,
[src][+]
T: Clone,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
[src][+]
V: MultiLane<T>,