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 moreSource§impl Debug for BatchGetDocumentsResponse
impl Debug for BatchGetDocumentsResponse
Source§impl Default for BatchGetDocumentsResponse
impl Default for BatchGetDocumentsResponse
Source§fn default() -> BatchGetDocumentsResponse
fn default() -> BatchGetDocumentsResponse
Source§impl<'de> Deserialize<'de> for BatchGetDocumentsResponse
impl<'de> Deserialize<'de> for BatchGetDocumentsResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl ResponseResult for BatchGetDocumentsResponse
Auto Trait Implementations§
impl Freeze for BatchGetDocumentsResponse
impl RefUnwindSafe for BatchGetDocumentsResponse
impl Send for BatchGetDocumentsResponse
impl Sync for BatchGetDocumentsResponse
impl Unpin for BatchGetDocumentsResponse
impl UnwindSafe for BatchGetDocumentsResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more