pub struct BatchUpdateDocumentResponse {
pub document_id: Option<String>,
pub replies: Option<Vec<Response>>,
pub write_control: Option<WriteControl>,
}
Expand description
Response message from a BatchUpdateDocument request.
§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).
- batch update documents (response)
Fields§
§document_id: Option<String>
The ID of the document to which the updates were applied to.
replies: Option<Vec<Response>>
The reply of the updates. This maps 1:1 with the updates, although replies to some requests may be empty.
write_control: Option<WriteControl>
The updated write control after applying the request.
Trait Implementations§
Source§impl Clone for BatchUpdateDocumentResponse
impl Clone for BatchUpdateDocumentResponse
Source§fn clone(&self) -> BatchUpdateDocumentResponse
fn clone(&self) -> BatchUpdateDocumentResponse
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 BatchUpdateDocumentResponse
impl Debug for BatchUpdateDocumentResponse
Source§impl Default for BatchUpdateDocumentResponse
impl Default for BatchUpdateDocumentResponse
Source§fn default() -> BatchUpdateDocumentResponse
fn default() -> BatchUpdateDocumentResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchUpdateDocumentResponse
impl<'de> Deserialize<'de> for BatchUpdateDocumentResponse
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
impl ResponseResult for BatchUpdateDocumentResponse
Auto Trait Implementations§
impl Freeze for BatchUpdateDocumentResponse
impl RefUnwindSafe for BatchUpdateDocumentResponse
impl Send for BatchUpdateDocumentResponse
impl Sync for BatchUpdateDocumentResponse
impl Unpin for BatchUpdateDocumentResponse
impl UnwindSafe for BatchUpdateDocumentResponse
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
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>
Converts
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>
Converts
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