pub struct KfProduceResponse {
pub responses: Vec<TopicProduceResponse>,
pub throttle_time_ms: i32,
}Fields§
§responses: Vec<TopicProduceResponse>Each produce response
throttle_time_ms: i32The 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§
Source§impl KfProduceResponse
impl KfProduceResponse
Sourcepub fn find_partition_response(
&self,
topic: &str,
partition: i32,
) -> Option<&PartitionProduceResponse>
pub fn find_partition_response( &self, topic: &str, partition: i32, ) -> Option<&PartitionProduceResponse>
Find partition in Response
Trait Implementations§
Source§impl Debug for KfProduceResponse
impl Debug for KfProduceResponse
Source§impl Decoder for KfProduceResponse
impl Decoder for KfProduceResponse
Source§impl Default for KfProduceResponse
impl Default for KfProduceResponse
Source§impl<'de> Deserialize<'de> for KfProduceResponse
impl<'de> Deserialize<'de> for KfProduceResponse
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 Encoder for KfProduceResponse
impl Encoder for KfProduceResponse
Auto Trait Implementations§
impl Freeze for KfProduceResponse
impl RefUnwindSafe for KfProduceResponse
impl Send for KfProduceResponse
impl Sync for KfProduceResponse
impl Unpin for KfProduceResponse
impl UnwindSafe for KfProduceResponse
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