[][src]Struct kf_protocol::message::produce::PartitionProduceData

pub struct PartitionProduceData<R> where
    R: Encoder + Decoder + Default + Debug
{ pub partition_index: i32, pub records: R, }

Fields

partition_index: i32

The partition index.

records: R

The record data to be produced.

Trait Implementations

impl<R> Debug for PartitionProduceData<R> where
    R: Debug + Encoder + Decoder + Default
[src]

impl<R> Decoder for PartitionProduceData<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<R> Default for PartitionProduceData<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl<'de, R> Deserialize<'de> for PartitionProduceData<R> where
    R: Encoder + Decoder + Default + Debug + Deserialize<'de>, 
[src]

impl<R> Encoder for PartitionProduceData<R> where
    R: Encoder + Decoder + Default + Debug
[src]

impl FileWrite for PartitionProduceData<KfFileRecordSet>[src]

impl<R> Serialize for PartitionProduceData<R> where
    R: Encoder + Decoder + Default + Debug + Serialize
[src]

Auto Trait Implementations

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.