pub struct FetchPartition {
pub partition: i32,
pub current_leader_epoch: i32,
pub fetch_offset: i64,
pub last_fetched_epoch: i32,
pub log_start_offset: i64,
pub partition_max_bytes: i32,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§partition: i32
The partition index.
current_leader_epoch: i32
The current leader epoch of the partition.
fetch_offset: i64
The message offset.
last_fetched_epoch: i32
The epoch of the last fetched record or -1 if there is none
log_start_offset: i64
The earliest available offset of the follower replica.
The field is only used when the request is sent by the follower.
partition_max_bytes: i32
The maximum bytes to fetch from this partition.
See KIP-74 for cases where this limit may not be honored.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
Source§impl Clone for FetchPartition
impl Clone for FetchPartition
Source§fn clone(&self) -> FetchPartition
fn clone(&self) -> FetchPartition
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 FetchPartition
impl Debug for FetchPartition
Source§impl Decodable for FetchPartition
impl Decodable for FetchPartition
Source§impl Default for FetchPartition
impl Default for FetchPartition
Source§fn default() -> FetchPartition
fn default() -> FetchPartition
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for FetchPartition
impl RefUnwindSafe for FetchPartition
impl Send for FetchPartition
impl Sync for FetchPartition
impl Unpin for FetchPartition
impl UnwindSafe for FetchPartition
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