pub struct TopicProduceData<R>{
pub name: String,
pub partitions: Vec<PartitionProduceData<R>>,
pub data: PhantomData<R>,
}
Fields§
§name: String
The topic name.
partitions: Vec<PartitionProduceData<R>>
Each partition to produce to.
data: PhantomData<R>
Trait Implementations§
Source§impl<R> Debug for TopicProduceData<R>
impl<R> Debug for TopicProduceData<R>
Source§impl<R> Decoder for TopicProduceData<R>
impl<R> Decoder for TopicProduceData<R>
Source§impl<R> Default for TopicProduceData<R>
impl<R> Default for TopicProduceData<R>
Source§impl<'de, R> Deserialize<'de> for TopicProduceData<R>
impl<'de, R> Deserialize<'de> for TopicProduceData<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 TopicProduceData<R>
impl<R> Encoder for TopicProduceData<R>
Auto Trait Implementations§
impl<R> Freeze for TopicProduceData<R>
impl<R> RefUnwindSafe for TopicProduceData<R>where
R: RefUnwindSafe,
impl<R> Send for TopicProduceData<R>where
R: Send,
impl<R> Sync for TopicProduceData<R>where
R: Sync,
impl<R> Unpin for TopicProduceData<R>where
R: Unpin,
impl<R> UnwindSafe for TopicProduceData<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