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 duplicate 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 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