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 error_code: i16,
pub unknown_tagged_fields: UnknownTaggedFields,
}Fields§
§throttle_time_ms: i32§brokers: Vec<MetadataResponseBroker>§cluster_id: Option<String>§controller_id: i32§topics: Vec<MetadataResponseTopic>§error_code: i16§unknown_tagged_fields: UnknownTaggedFieldsTrait Implementations§
Source§impl Clone for MetadataResponse
impl Clone for MetadataResponse
Source§fn clone(&self) -> MetadataResponse
fn clone(&self) -> MetadataResponse
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 MetadataResponse
impl Debug for MetadataResponse
Source§impl Decode<'_> for MetadataResponse
impl Decode<'_> for MetadataResponse
Source§impl Default for MetadataResponse
impl Default for MetadataResponse
Source§impl Encode for MetadataResponse
impl Encode for MetadataResponse
impl Eq for MetadataResponse
Source§impl PartialEq for MetadataResponse
impl PartialEq for MetadataResponse
Source§fn eq(&self, other: &MetadataResponse) -> bool
fn eq(&self, other: &MetadataResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MetadataResponse
Auto Trait Implementations§
impl Freeze for MetadataResponse
impl RefUnwindSafe for MetadataResponse
impl Send for MetadataResponse
impl Sync for MetadataResponse
impl Unpin for MetadataResponse
impl UnsafeUnpin 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