pub struct MetadataResponseTopic {
pub error_code: ErrorCode,
pub name: String,
pub is_internal: bool,
pub partitions: Vec<MetadataResponsePartition>,
}
Fields§
§error_code: ErrorCode
The topic error, or 0 if there was no error.
name: String
The topic name.
is_internal: bool
True if the topic is internal.
partitions: Vec<MetadataResponsePartition>
Each partition in the topic.
Trait Implementations§
Source§impl Debug for MetadataResponseTopic
impl Debug for MetadataResponseTopic
Source§impl Decoder for MetadataResponseTopic
impl Decoder for MetadataResponseTopic
Source§impl Default for MetadataResponseTopic
impl Default for MetadataResponseTopic
Source§impl<'de> Deserialize<'de> for MetadataResponseTopic
impl<'de> Deserialize<'de> for MetadataResponseTopic
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
Source§impl Encoder for MetadataResponseTopic
impl Encoder for MetadataResponseTopic
Auto Trait Implementations§
impl Freeze for MetadataResponseTopic
impl RefUnwindSafe for MetadataResponseTopic
impl Send for MetadataResponseTopic
impl Sync for MetadataResponseTopic
impl Unpin for MetadataResponseTopic
impl UnwindSafe for MetadataResponseTopic
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