pub struct MetadataResponse {
pub brokers: Vec<Broker>,
pub stream_metadata: Vec<StreamMetadata>,
/* private fields */
}
Fields
brokers: Vec<Broker>
stream_metadata: Vec<StreamMetadata>
Trait Implementations
sourceimpl Debug for MetadataResponse
impl Debug for MetadataResponse
sourceimpl Decoder for MetadataResponse
impl Decoder for MetadataResponse
sourceimpl Encoder for MetadataResponse
impl Encoder for MetadataResponse
fn encoded_size(&self) -> u32
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
sourceimpl FromResponse for MetadataResponse
impl FromResponse for MetadataResponse
fn from_response(response: Response) -> Option<Self>
sourceimpl PartialEq<MetadataResponse> for MetadataResponse
impl PartialEq<MetadataResponse> for MetadataResponse
sourcefn eq(&self, other: &MetadataResponse) -> bool
fn eq(&self, other: &MetadataResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &MetadataResponse) -> bool
fn ne(&self, other: &MetadataResponse) -> bool
This method tests for !=
.
impl StructuralPartialEq for MetadataResponse
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more