pub struct ListOffsetsPartition {
pub partition_index: i32,
pub current_leader_epoch: i32,
pub timestamp: i64,
pub max_num_offsets: i32,
pub unknown_tagged_fields: BTreeMap<i32, Vec<u8>>,
}
Expand description
Valid versions: 0-7
Fields§
§partition_index: i32
The partition index.
Supported API versions: 0-7
current_leader_epoch: i32
The current leader epoch.
Supported API versions: 4-7
timestamp: i64
The current timestamp.
Supported API versions: 0-7
max_num_offsets: i32
The maximum number of offsets to report.
Supported API versions: 0
unknown_tagged_fields: BTreeMap<i32, Vec<u8>>
Other tagged fields
Trait Implementations§
source§impl Clone for ListOffsetsPartition
impl Clone for ListOffsetsPartition
source§fn clone(&self) -> ListOffsetsPartition
fn clone(&self) -> ListOffsetsPartition
Returns a copy 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 ListOffsetsPartition
impl Debug for ListOffsetsPartition
source§impl Decodable for ListOffsetsPartition
impl Decodable for ListOffsetsPartition
source§impl Default for ListOffsetsPartition
impl Default for ListOffsetsPartition
source§impl Encodable for ListOffsetsPartition
impl Encodable for ListOffsetsPartition
source§fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
Encode the message into the target buffer.
source§fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
Compute the total size of the message when encoded.
source§impl Message for ListOffsetsPartition
impl Message for ListOffsetsPartition
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
The valid versions for this message.