pub struct BatchGetDocumentsResponse {
pub found: Option<Document>,
pub missing: Option<String>,
pub read_time: Option<DateTime<Utc>>,
pub transaction: Option<Vec<u8>>,
}
Expand description
The streamed response 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).
- databases documents batch get projects (response)
Fields§
§found: Option<Document>
A document that was requested.
missing: Option<String>
A document name that was requested but does not exist. In the format: projects/{project_id}/databases/{database_id}/documents/{document_path}
.
read_time: Option<DateTime<Utc>>
The time at which the document was read. This may be monotically increasing, in this case the previous documents in the result stream are guaranteed not to have changed between their read_time and this one.
transaction: Option<Vec<u8>>
The transaction that was started as part of this request. Will only be set in the first response, and only if BatchGetDocumentsRequest.new_transaction was set in the request.
Trait Implementations§
source§impl Clone for BatchGetDocumentsResponse
impl Clone for BatchGetDocumentsResponse
source§fn clone(&self) -> BatchGetDocumentsResponse
fn clone(&self) -> BatchGetDocumentsResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more