pub struct PartitionProduceData<R>{
pub partition_index: i32,
pub records: R,
}
Fields§
§partition_index: i32
The partition index.
records: R
The record data to be produced.
Trait Implementations§
Source§impl<R> Debug for PartitionProduceData<R>
impl<R> Debug for PartitionProduceData<R>
Source§impl<R> Decoder for PartitionProduceData<R>
impl<R> Decoder for PartitionProduceData<R>
Source§impl<R> Default for PartitionProduceData<R>
impl<R> Default for PartitionProduceData<R>
Source§impl<'de, R> Deserialize<'de> for PartitionProduceData<R>
impl<'de, R> Deserialize<'de> for PartitionProduceData<R>
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl<R> Encoder for PartitionProduceData<R>
impl<R> Encoder for PartitionProduceData<R>
Auto Trait Implementations§
impl<R> Freeze for PartitionProduceData<R>where
R: Freeze,
impl<R> RefUnwindSafe for PartitionProduceData<R>where
R: RefUnwindSafe,
impl<R> Send for PartitionProduceData<R>where
R: Send,
impl<R> Sync for PartitionProduceData<R>where
R: Sync,
impl<R> Unpin for PartitionProduceData<R>where
R: Unpin,
impl<R> UnwindSafe for PartitionProduceData<R>where
R: UnwindSafe,
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