pub struct TableInBatchGetRowRequest {
pub table_name: String,
pub primary_key: Vec<Vec<u8>>,
pub token: Vec<Vec<u8>>,
pub columns_to_get: Vec<String>,
pub time_range: Option<TimeRange>,
pub max_versions: Option<i32>,
pub filter: Option<Vec<u8>>,
pub start_column: Option<String>,
pub end_column: Option<String>,
}
Fields§
§table_name: String
§primary_key: Vec<Vec<u8>>
§token: Vec<Vec<u8>>
§columns_to_get: Vec<String>
§time_range: Option<TimeRange>
§max_versions: Option<i32>
§filter: Option<Vec<u8>>
§start_column: Option<String>
§end_column: Option<String>
Implementations§
Source§impl TableInBatchGetRowRequest
impl TableInBatchGetRowRequest
Sourcepub fn max_versions(&self) -> i32
pub fn max_versions(&self) -> i32
Returns the value of max_versions
, or the default value if max_versions
is unset.
Sourcepub fn filter(&self) -> &[u8] ⓘ
pub fn filter(&self) -> &[u8] ⓘ
Returns the value of filter
, or the default value if filter
is unset.
Sourcepub fn start_column(&self) -> &str
pub fn start_column(&self) -> &str
Returns the value of start_column
, or the default value if start_column
is unset.
Sourcepub fn end_column(&self) -> &str
pub fn end_column(&self) -> &str
Returns the value of end_column
, or the default value if end_column
is unset.
Trait Implementations§
Source§impl Clone for TableInBatchGetRowRequest
impl Clone for TableInBatchGetRowRequest
Source§fn clone(&self) -> TableInBatchGetRowRequest
fn clone(&self) -> TableInBatchGetRowRequest
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 TableInBatchGetRowRequest
impl Debug for TableInBatchGetRowRequest
Source§impl Default for TableInBatchGetRowRequest
impl Default for TableInBatchGetRowRequest
Source§impl From<TableInBatchGetRowRequest> for TableInBatchGetRowRequest
impl From<TableInBatchGetRowRequest> for TableInBatchGetRowRequest
Source§fn from(value: TableInBatchGetRowRequest) -> Self
fn from(value: TableInBatchGetRowRequest) -> Self
Converts to this type from the input type.
Source§impl Message for TableInBatchGetRowRequest
impl Message for TableInBatchGetRowRequest
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
.impl StructuralPartialEq for TableInBatchGetRowRequest
Auto Trait Implementations§
impl Freeze for TableInBatchGetRowRequest
impl RefUnwindSafe for TableInBatchGetRowRequest
impl Send for TableInBatchGetRowRequest
impl Sync for TableInBatchGetRowRequest
impl Unpin for TableInBatchGetRowRequest
impl UnwindSafe for TableInBatchGetRowRequest
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