pub struct FetchOffsetPartitionResponse {
pub error_code: ErrorCode,
pub partition_index: PartitionId,
pub start_offset: i64,
pub last_stable_offset: i64,
}
Fields§
§error_code: ErrorCode
The partition error code, None for no error
partition_index: PartitionId
The partition index.
start_offset: i64
First readable offset.
last_stable_offset: i64
Last readable offset
Trait Implementations§
source§impl Debug for FetchOffsetPartitionResponse
impl Debug for FetchOffsetPartitionResponse
source§impl Default for FetchOffsetPartitionResponse
impl Default for FetchOffsetPartitionResponse
source§fn default() -> FetchOffsetPartitionResponse
fn default() -> FetchOffsetPartitionResponse
Returns the “default value” for a type. Read more
source§impl PartitionOffset for FetchOffsetPartitionResponse
impl PartitionOffset for FetchOffsetPartitionResponse
source§fn last_stable_offset(&self) -> i64
fn last_stable_offset(&self) -> i64
last offset that was committed
fn start_offset(&self) -> i64
Auto Trait Implementations§
impl !Freeze for FetchOffsetPartitionResponse
impl RefUnwindSafe for FetchOffsetPartitionResponse
impl Send for FetchOffsetPartitionResponse
impl Sync for FetchOffsetPartitionResponse
impl Unpin for FetchOffsetPartitionResponse
impl UnwindSafe for FetchOffsetPartitionResponse
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