pub struct ProducePartitionConfirm {
pub offset: Result<i64, KafkaCode>,
pub partition: i32,
}
Expand description
A confirmation of messages sent back by the Kafka broker to confirm delivery of producer messages for a particular topic.
Fields§
§offset: Result<i64, KafkaCode>
The offset assigned to the first message in the message set appended to this partition, or an error if one occurred.
partition: i32
The partition to which the message(s) were appended.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ProducePartitionConfirm
impl RefUnwindSafe for ProducePartitionConfirm
impl Send for ProducePartitionConfirm
impl Sync for ProducePartitionConfirm
impl Unpin for ProducePartitionConfirm
impl UnwindSafe for ProducePartitionConfirm
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