pub struct UpdateRowRequest {
pub table_name: String,
pub row_change: Vec<u8>,
pub condition: Condition,
pub return_content: Option<ReturnContent>,
pub transaction_id: Option<String>,
}
Fields§
§table_name: String
§row_change: Vec<u8>
§condition: Condition
§return_content: Option<ReturnContent>
§transaction_id: Option<String>
Implementations§
Source§impl UpdateRowRequest
impl UpdateRowRequest
Sourcepub fn transaction_id(&self) -> &str
pub fn transaction_id(&self) -> &str
Returns the value of transaction_id
, or the default value if transaction_id
is unset.
Trait Implementations§
Source§impl Clone for UpdateRowRequest
impl Clone for UpdateRowRequest
Source§fn clone(&self) -> UpdateRowRequest
fn clone(&self) -> UpdateRowRequest
Returns a duplicate 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 UpdateRowRequest
impl Debug for UpdateRowRequest
Source§impl Default for UpdateRowRequest
impl Default for UpdateRowRequest
Source§impl From<UpdateRowRequest> for UpdateRowRequest
impl From<UpdateRowRequest> for UpdateRowRequest
Source§fn from(value: UpdateRowRequest) -> UpdateRowRequest
fn from(value: UpdateRowRequest) -> UpdateRowRequest
Converts to this type from the input type.
Source§impl Message for UpdateRowRequest
impl Message for UpdateRowRequest
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
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,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
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,
Encodes the message with a length-delimiter to a buffer. Read more
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,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
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,
Decodes a length-delimited instance of the message from the buffer.
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,
Decodes an instance of the message from a buffer, and merges it into
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,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self
.Source§impl PartialEq for UpdateRowRequest
impl PartialEq for UpdateRowRequest
impl StructuralPartialEq for UpdateRowRequest
Auto Trait Implementations§
impl Freeze for UpdateRowRequest
impl RefUnwindSafe for UpdateRowRequest
impl Send for UpdateRowRequest
impl Sync for UpdateRowRequest
impl Unpin for UpdateRowRequest
impl UnwindSafe for UpdateRowRequest
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