[−][src]Struct kf_protocol_message::produce::PartitionProduceResponse
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
impl Debug for PartitionProduceResponse
[src]
impl Decoder for PartitionProduceResponse
[src]
fn decode<T>(&mut self, src: &mut T, version: Version) -> Result<(), Error> where
T: Buf,
[src]
T: Buf,
fn decode_from<T>(src: &mut T, version: i16) -> Result<Self, Error> where
Self: Default,
T: Buf,
[src]
Self: Default,
T: Buf,
impl Default for PartitionProduceResponse
[src]
impl<'de> Deserialize<'de> for PartitionProduceResponse
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Encoder for PartitionProduceResponse
[src]
fn encode<T>(&self, src: &mut T, version: Version) -> Result<(), Error> where
T: BufMut,
[src]
T: BufMut,
fn write_size(&self, version: Version) -> usize
[src]
fn as_bytes(&self, version: i16) -> Result<Bytes, Error>
[src]
impl Serialize for PartitionProduceResponse
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,