pub struct MetadataResponseV1 {
pub brokers: Vec<BrokerMetadata>,
pub controller_id: i32,
pub topics: Vec<TopicMetadata>,
}Fields§
§brokers: Vec<BrokerMetadata>§controller_id: i32§topics: Vec<TopicMetadata>Implementations§
Source§impl MetadataResponseV1
impl MetadataResponseV1
pub fn decode_body(decoder: &mut Decoder<'_>) -> Result<Self>
Trait Implementations§
Source§impl Clone for MetadataResponseV1
impl Clone for MetadataResponseV1
Source§fn clone(&self) -> MetadataResponseV1
fn clone(&self) -> MetadataResponseV1
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 MetadataResponseV1
impl Debug for MetadataResponseV1
impl Eq for MetadataResponseV1
Source§impl PartialEq for MetadataResponseV1
impl PartialEq for MetadataResponseV1
impl StructuralPartialEq for MetadataResponseV1
Auto Trait Implementations§
impl Freeze for MetadataResponseV1
impl RefUnwindSafe for MetadataResponseV1
impl Send for MetadataResponseV1
impl Sync for MetadataResponseV1
impl Unpin for MetadataResponseV1
impl UnsafeUnpin for MetadataResponseV1
impl UnwindSafe for MetadataResponseV1
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