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 Clone for MetadataResponse
impl Clone for MetadataResponse
Source§fn clone(&self) -> MetadataResponse
fn clone(&self) -> MetadataResponse
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§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 Freeze for MetadataResponse
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