pub struct PartitionProduceResponse {
pub partition_index: PartitionId,
pub error_code: ErrorCode,
pub base_offset: i64,
pub log_append_time_ms: i64,
pub log_start_offset: i64,
}
Fields§
§partition_index: PartitionId
The partition index.
error_code: ErrorCode
The error code, or 0 if there was no error.
base_offset: i64
The base offset.
log_append_time_ms: i64
The timestamp returned by broker after appending the messages. If CreateTime is used for the topic, the timestamp will be -1. If LogAppendTime is used for the topic, the timestamp will be the broker local time when the messages are appended.
log_start_offset: i64
The log start offset.
Trait Implementations§
source§impl Debug for PartitionProduceResponse
impl Debug for PartitionProduceResponse
source§impl Decoder for PartitionProduceResponse
impl Decoder for PartitionProduceResponse
source§impl Default for PartitionProduceResponse
impl Default for PartitionProduceResponse
source§impl Encoder for PartitionProduceResponse
impl Encoder for PartitionProduceResponse
Auto Trait Implementations§
impl !Freeze for PartitionProduceResponse
impl RefUnwindSafe for PartitionProduceResponse
impl Send for PartitionProduceResponse
impl Sync for PartitionProduceResponse
impl Unpin for PartitionProduceResponse
impl UnwindSafe for PartitionProduceResponse
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