pub struct MetadataResponse {
pub brokers: Vec<Broker>,
pub stream_metadata: Vec<StreamMetadata>,
/* private fields */
}
Fields§
§brokers: Vec<Broker>
§stream_metadata: Vec<StreamMetadata>
Trait Implementations§
Source§impl Debug for MetadataResponse
impl Debug for MetadataResponse
Source§impl Decoder for MetadataResponse
impl Decoder for MetadataResponse
fn decode(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
fn decode_version_2(input: &[u8]) -> Result<(&[u8], Self), DecodeError>
Source§impl Encoder for MetadataResponse
impl Encoder for MetadataResponse
fn encoded_size(&self) -> u32
fn encode(&self, writer: &mut impl Write) -> Result<(), EncodeError>
fn encoded_size_version_2(&self) -> u32
fn encode_version_2(&self, writer: &mut impl Write) -> Result<(), EncodeError>
Source§impl FromResponse for MetadataResponse
impl FromResponse for MetadataResponse
fn from_response(response: Response) -> Option<Self>
Source§impl PartialEq for MetadataResponse
impl PartialEq for MetadataResponse
impl Eq for MetadataResponse
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 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