pub struct PartitionProduceResponse {
pub index: i32,
pub error_code: i16,
pub base_offset: i64,
pub log_append_time_ms: i64,
pub log_start_offset: i64,
pub record_errors: Vec<BatchIndexAndErrorMessage>,
pub error_message: Option<String>,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§index: i32
The partition index.
error_code: i16
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.
record_errors: Vec<BatchIndexAndErrorMessage>
The batch indices of records that caused the batch to be dropped.
error_message: Option<String>
The global error message summarizing the common root cause of the records that caused the batch to be dropped.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
source§impl Clone for PartitionProduceResponse
impl Clone for PartitionProduceResponse
source§fn clone(&self) -> PartitionProduceResponse
fn clone(&self) -> PartitionProduceResponse
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 PartitionProduceResponse
impl Debug for PartitionProduceResponse
source§impl Default for PartitionProduceResponse
impl Default for PartitionProduceResponse
source§fn default() -> PartitionProduceResponse
fn default() -> PartitionProduceResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
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