Struct fluvio_dataplane_protocol::produce::ProduceResponse[][src]

pub struct ProduceResponse {
    pub responses: Vec<TopicProduceResponse>,
    pub throttle_time_ms: i32,
}

Fields

responses: Vec<TopicProduceResponse>

Each produce response

throttle_time_ms: i32

The duration in milliseconds for which the request was throttled due to a quota violation, or zero if the request did not violate any quota.

Implementations

impl ProduceResponse[src]

pub fn find_partition_response(
    &self,
    topic: &str,
    partition: i32
) -> Option<&PartitionProduceResponse>
[src]

Find partition in Response

Trait Implementations

impl Debug for ProduceResponse[src]

impl Decoder for ProduceResponse[src]

impl Default for ProduceResponse[src]

impl Encoder for ProduceResponse[src]

Auto Trait Implementations

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> From<T> for T[src]

impl<T> Instrument 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.