pub struct ListOffsetPartitionResponse {
pub partition_index: i32,
pub error_code: ErrorCode,
pub timestamp: i64,
pub offset: i64,
pub leader_epoch: i32,
}
Fields§
§partition_index: i32
The partition index.
error_code: ErrorCode
The partition error code, or 0 if there was no error.
timestamp: i64
The timestamp associated with the returned offset.
offset: i64
The returned offset.
leader_epoch: i32
Trait Implementations§
Source§impl Debug for ListOffsetPartitionResponse
impl Debug for ListOffsetPartitionResponse
Source§impl<'de> Deserialize<'de> for ListOffsetPartitionResponse
impl<'de> Deserialize<'de> for ListOffsetPartitionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartitionOffset for ListOffsetPartitionResponse
impl PartitionOffset for ListOffsetPartitionResponse
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 ListOffsetPartitionResponse
impl RefUnwindSafe for ListOffsetPartitionResponse
impl Send for ListOffsetPartitionResponse
impl Sync for ListOffsetPartitionResponse
impl Unpin for ListOffsetPartitionResponse
impl UnwindSafe for ListOffsetPartitionResponse
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