pub struct KfMetadataResponse {
pub throttle_time_ms: i32,
pub brokers: Vec<MetadataResponseBroker>,
pub cluster_id: Option<String>,
pub controller_id: i32,
pub topics: Vec<MetadataResponseTopic>,
}
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.
brokers: Vec<MetadataResponseBroker>
Each broker in the response.
cluster_id: Option<String>
The cluster ID that responding broker belongs to.
controller_id: i32
The ID of the controller broker.
topics: Vec<MetadataResponseTopic>
Each topic in the response.
Trait Implementations§
Source§impl Debug for KfMetadataResponse
impl Debug for KfMetadataResponse
Source§impl Decoder for KfMetadataResponse
impl Decoder for KfMetadataResponse
Source§impl Default for KfMetadataResponse
impl Default for KfMetadataResponse
Source§impl<'de> Deserialize<'de> for KfMetadataResponse
impl<'de> Deserialize<'de> for KfMetadataResponse
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 KfMetadataResponse
impl Encoder for KfMetadataResponse
Auto Trait Implementations§
impl Freeze for KfMetadataResponse
impl RefUnwindSafe for KfMetadataResponse
impl Send for KfMetadataResponse
impl Sync for KfMetadataResponse
impl Unpin for KfMetadataResponse
impl UnwindSafe for KfMetadataResponse
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