pub struct GetMetadataResponse {
pub success: bool,
pub error: Option<String>,
pub brokers: Vec<BrokerInfo>,
pub topics: Vec<TopicInfo>,
pub configs: Value,
}Expand description
Get metadata response
Fields§
§success: boolSuccess flag
error: Option<String>Error message if failed
brokers: Vec<BrokerInfo>Brokers
topics: Vec<TopicInfo>Topics
configs: ValueConfigs
Trait Implementations§
Source§impl Clone for GetMetadataResponse
impl Clone for GetMetadataResponse
Source§fn clone(&self) -> GetMetadataResponse
fn clone(&self) -> GetMetadataResponse
Returns a duplicate of the value. Read more
1.0.0 · 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 GetMetadataResponse
impl Debug for GetMetadataResponse
Source§impl<'de> Deserialize<'de> for GetMetadataResponse
impl<'de> Deserialize<'de> for GetMetadataResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GetMetadataResponse
impl RefUnwindSafe for GetMetadataResponse
impl Send for GetMetadataResponse
impl Sync for GetMetadataResponse
impl Unpin for GetMetadataResponse
impl UnwindSafe for GetMetadataResponse
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