Struct fluvio::dataplane::produce::TopicProduceData [−][src]
pub struct TopicProduceData<R> where
R: Encoder + Decoder + Default + Debug, { pub name: String, pub partitions: Vec<PartitionProduceData<R>, Global>, pub data: PhantomData<R>, }
Fields
name: String
The topic name.
partitions: Vec<PartitionProduceData<R>, Global>
Each partition to produce to.
data: PhantomData<R>
Trait Implementations
impl<R> Default for TopicProduceData<R> where
R: Encoder + Decoder + Default + Debug,
[src]
impl<R> Default for TopicProduceData<R> where
R: Encoder + Decoder + Default + Debug,
[src]pub fn default() -> TopicProduceData<R>
[src]
impl FileWrite for TopicProduceData<FileRecordSet>
[src]
impl FileWrite for TopicProduceData<FileRecordSet>
[src]pub fn file_encode(
&self,
src: &mut BytesMut,
data: &mut Vec<StoreValue, Global>,
version: i16
) -> Result<(), Error>
[src]
&self,
src: &mut BytesMut,
data: &mut Vec<StoreValue, Global>,
version: i16
) -> Result<(), Error>
Auto Trait Implementations
impl<R> RefUnwindSafe for TopicProduceData<R> where
R: RefUnwindSafe,
impl<R> RefUnwindSafe for TopicProduceData<R> where
R: RefUnwindSafe,
impl<R> Send for TopicProduceData<R> where
R: Send,
impl<R> Send for TopicProduceData<R> where
R: Send,
impl<R> Sync for TopicProduceData<R> where
R: Sync,
impl<R> Sync for TopicProduceData<R> where
R: Sync,
impl<R> Unpin for TopicProduceData<R> where
R: Unpin,
impl<R> Unpin for TopicProduceData<R> where
R: Unpin,
impl<R> UnwindSafe for TopicProduceData<R> where
R: UnwindSafe,
impl<R> UnwindSafe for TopicProduceData<R> where
R: UnwindSafe,
Blanket Implementations
impl<T> Instrument for T
[src]
impl<T> Instrument for T
[src]