Struct bigtable_rs::google::bigtable::v2::CheckAndMutateRowRequest
source · pub struct CheckAndMutateRowRequest {
pub table_name: String,
pub app_profile_id: String,
pub row_key: Vec<u8>,
pub predicate_filter: Option<RowFilter>,
pub true_mutations: Vec<Mutation>,
pub false_mutations: Vec<Mutation>,
}
Expand description
Request message for Bigtable.CheckAndMutateRow.
Fields§
§table_name: String
Required. The unique name of the table to which the conditional mutation
should be applied. Values are of the form
projects/<project>/instances/<instance>/tables/<table>
.
app_profile_id: String
This value specifies routing for replication. If not specified, the “default” application profile will be used.
row_key: Vec<u8>
Required. The key of the row to which the conditional mutation should be applied.
predicate_filter: Option<RowFilter>
The filter to be applied to the contents of the specified row. Depending
on whether or not any results are yielded, either true_mutations
or
false_mutations
will be executed. If unset, checks that the row contains
any values at all.
true_mutations: Vec<Mutation>
Changes to be atomically applied to the specified row if predicate_filter
yields at least one cell when applied to row_key
. Entries are applied in
order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry if false_mutations
is empty, and at most
100000.
false_mutations: Vec<Mutation>
Changes to be atomically applied to the specified row if predicate_filter
does not yield any cells when applied to row_key
. Entries are applied in
order, meaning that earlier mutations can be masked by later ones.
Must contain at least one entry if true_mutations
is empty, and at most
100000.
Trait Implementations§
source§impl Clone for CheckAndMutateRowRequest
impl Clone for CheckAndMutateRowRequest
source§fn clone(&self) -> CheckAndMutateRowRequest
fn clone(&self) -> CheckAndMutateRowRequest
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CheckAndMutateRowRequest
impl Debug for CheckAndMutateRowRequest
source§impl Default for CheckAndMutateRowRequest
impl Default for CheckAndMutateRowRequest
source§impl<'de> Deserialize<'de> for CheckAndMutateRowRequest
impl<'de> Deserialize<'de> for CheckAndMutateRowRequest
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 Message for CheckAndMutateRowRequest
impl Message for CheckAndMutateRowRequest
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for CheckAndMutateRowRequest
impl PartialEq for CheckAndMutateRowRequest
source§fn eq(&self, other: &CheckAndMutateRowRequest) -> bool
fn eq(&self, other: &CheckAndMutateRowRequest) -> bool
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for CheckAndMutateRowRequest
impl Serialize for CheckAndMutateRowRequest
impl StructuralPartialEq for CheckAndMutateRowRequest
Auto Trait Implementations§
impl Freeze for CheckAndMutateRowRequest
impl RefUnwindSafe for CheckAndMutateRowRequest
impl Send for CheckAndMutateRowRequest
impl Sync for CheckAndMutateRowRequest
impl Unpin for CheckAndMutateRowRequest
impl UnwindSafe for CheckAndMutateRowRequest
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request