pub struct MetadataResponseV12 {
pub throttle_time_ms: i32,
pub brokers: Vec<MetadataBrokerV12>,
pub cluster_id: Option<String>,
pub controller_id: i32,
pub topics: Vec<MetadataTopicV12>,
}Expand description
Metadata v12 response with topic UUIDs and flexible encoding.
Fields§
§throttle_time_ms: i32§brokers: Vec<MetadataBrokerV12>§cluster_id: Option<String>§controller_id: i32§topics: Vec<MetadataTopicV12>Implementations§
Source§impl MetadataResponseV12
impl MetadataResponseV12
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
Trait Implementations§
Source§impl Clone for MetadataResponseV12
impl Clone for MetadataResponseV12
Source§fn clone(&self) -> MetadataResponseV12
fn clone(&self) -> MetadataResponseV12
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MetadataResponseV12
impl Debug for MetadataResponseV12
impl Eq for MetadataResponseV12
Source§impl PartialEq for MetadataResponseV12
impl PartialEq for MetadataResponseV12
impl StructuralPartialEq for MetadataResponseV12
Auto Trait Implementations§
impl Freeze for MetadataResponseV12
impl RefUnwindSafe for MetadataResponseV12
impl Send for MetadataResponseV12
impl Sync for MetadataResponseV12
impl Unpin for MetadataResponseV12
impl UnsafeUnpin for MetadataResponseV12
impl UnwindSafe for MetadataResponseV12
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