pub struct KfListOffsetResponse {
pub throttle_time_ms: i32,
pub topics: Vec<ListOffsetTopicResponse>,
}
Fields§
§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.
topics: Vec<ListOffsetTopicResponse>
Each topic in the response.
Implementations§
Source§impl KfListOffsetResponse
impl KfListOffsetResponse
pub fn find_partition( self, topic: &str, partition: i32, ) -> Option<ListOffsetPartitionResponse>
Trait Implementations§
Source§impl Debug for KfListOffsetResponse
impl Debug for KfListOffsetResponse
Source§impl Decoder for KfListOffsetResponse
impl Decoder for KfListOffsetResponse
Source§impl Default for KfListOffsetResponse
impl Default for KfListOffsetResponse
Source§impl<'de> Deserialize<'de> for KfListOffsetResponse
impl<'de> Deserialize<'de> for KfListOffsetResponse
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 KfListOffsetResponse
impl Encoder for KfListOffsetResponse
Auto Trait Implementations§
impl Freeze for KfListOffsetResponse
impl RefUnwindSafe for KfListOffsetResponse
impl Send for KfListOffsetResponse
impl Sync for KfListOffsetResponse
impl Unpin for KfListOffsetResponse
impl UnwindSafe for KfListOffsetResponse
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