pub struct AlterShareGroupOffsetsRequestPartition {
pub partition_index: i32,
pub start_offset: i64,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§partition_index: i32The partition index.
start_offset: i64The share-partition start offset.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
pub fn with_partition_index(self, value: i32) -> Self
pub fn with_start_offset(self, value: i64) -> Self
pub fn read(buf: &mut Bytes, _version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, _version: i16) -> Result<()>
pub fn encoded_len(&self, _version: i16) -> Result<usize>
Trait Implementations§
Source§fn clone(&self) -> AlterShareGroupOffsetsRequestPartition
fn clone(&self) -> AlterShareGroupOffsetsRequestPartition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn eq(&self, other: &AlterShareGroupOffsetsRequestPartition) -> bool
fn eq(&self, other: &AlterShareGroupOffsetsRequestPartition) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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