pub struct PartitionProduceResponse {
pub partition_index: i32,
pub error_code: ErrorCode,
pub base_offset: i64,
pub log_append_time_ms: i64,
pub log_start_offset: i64,
}
Fields
partition_index: i32
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
sourceimpl Debug for PartitionProduceResponse
impl Debug for PartitionProduceResponse
sourceimpl Decoder for PartitionProduceResponse
impl Decoder for PartitionProduceResponse
sourceimpl Default for PartitionProduceResponse
impl Default for PartitionProduceResponse
sourceimpl Encoder for PartitionProduceResponse
impl Encoder for PartitionProduceResponse
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more