Struct google_firestore1_beta1::api::WriteResponse
source · pub struct WriteResponse {
pub commit_time: Option<DateTime<Utc>>,
pub stream_id: Option<String>,
pub stream_token: Option<Vec<u8>>,
pub write_results: Option<Vec<WriteResult>>,
}
Expand description
The response for Firestore.Write.
§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 write projects (response)
Fields§
§commit_time: Option<DateTime<Utc>>
The time at which the commit occurred. Any read with an equal or greater read_time
is guaranteed to see the effects of the write.
stream_id: Option<String>
The ID of the stream. Only set on the first message, when a new stream was created.
stream_token: Option<Vec<u8>>
A token that represents the position of this response in the stream. This can be used by a client to resume the stream at this point. This field is always set.
write_results: Option<Vec<WriteResult>>
The result of applying the writes. This i-th write result corresponds to the i-th write in the request.
Trait Implementations§
source§impl Clone for WriteResponse
impl Clone for WriteResponse
source§fn clone(&self) -> WriteResponse
fn clone(&self) -> WriteResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for WriteResponse
impl Debug for WriteResponse
source§impl Default for WriteResponse
impl Default for WriteResponse
source§fn default() -> WriteResponse
fn default() -> WriteResponse
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for WriteResponse
impl<'de> Deserialize<'de> for WriteResponse
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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Serialize for WriteResponse
impl Serialize for WriteResponse
impl ResponseResult for WriteResponse
Auto Trait Implementations§
impl RefUnwindSafe for WriteResponse
impl Send for WriteResponse
impl Sync for WriteResponse
impl Unpin for WriteResponse
impl UnwindSafe for WriteResponse
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
Mutably borrows from an owned value. Read more