Struct kafka_api::metadata_response::MetadataResponse
source · pub struct MetadataResponse {
pub throttle_time_ms: i32,
pub brokers: Vec<MetadataResponseBroker>,
pub cluster_id: Option<String>,
pub controller_id: i32,
pub topics: Vec<MetadataResponseTopic>,
pub cluster_authorized_operations: i32,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
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.
32-bit bitfield to represent authorized operations for this cluster.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
source§impl Debug for MetadataResponse
impl Debug for MetadataResponse
source§impl Default for MetadataResponse
impl Default for MetadataResponse
source§fn default() -> MetadataResponse
fn default() -> MetadataResponse
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MetadataResponse
impl Send for MetadataResponse
impl Sync for MetadataResponse
impl Unpin for MetadataResponse
impl UnwindSafe for MetadataResponse
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