pub struct BatchWriteRequest {
pub exclude_txn_from_change_streams: Option<bool>,
pub mutation_groups: Option<Vec<MutationGroup>>,
pub request_options: Option<RequestOptions>,
}
Expand description
The request for BatchWrite.
§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).
Fields§
§exclude_txn_from_change_streams: Option<bool>
Optional. When exclude_txn_from_change_streams
is set to true
: * Modifications from all transactions in this batch write operation will not be recorded in change streams with DDL option allow_txn_exclusion=true
that are tracking columns modified by these transactions. * Modifications from all transactions in this batch write operation will be recorded in change streams with DDL option allow_txn_exclusion=false or not set
that are tracking columns modified by these transactions. When exclude_txn_from_change_streams
is set to false
or not set, Modifications from all transactions in this batch write operation will be recorded in all change streams that are tracking columns modified by these transactions.
mutation_groups: Option<Vec<MutationGroup>>
Required. The groups of mutations to be applied.
request_options: Option<RequestOptions>
Common options for this request.
Trait Implementations§
Source§impl Clone for BatchWriteRequest
impl Clone for BatchWriteRequest
Source§fn clone(&self) -> BatchWriteRequest
fn clone(&self) -> BatchWriteRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for BatchWriteRequest
impl Debug for BatchWriteRequest
Source§impl Default for BatchWriteRequest
impl Default for BatchWriteRequest
Source§fn default() -> BatchWriteRequest
fn default() -> BatchWriteRequest
Source§impl<'de> Deserialize<'de> for BatchWriteRequest
impl<'de> Deserialize<'de> for BatchWriteRequest
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>,
Source§impl Serialize for BatchWriteRequest
impl Serialize for BatchWriteRequest
impl RequestValue for BatchWriteRequest
Auto Trait Implementations§
impl Freeze for BatchWriteRequest
impl RefUnwindSafe for BatchWriteRequest
impl Send for BatchWriteRequest
impl Sync for BatchWriteRequest
impl Unpin for BatchWriteRequest
impl UnwindSafe for BatchWriteRequest
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