pub struct MetadataResponseTopic {
pub error_code: i16,
pub name: String,
pub is_internal: bool,
pub partitions: Vec<MetadataResponsePartition>,
}Expand description
MetadataResponseTopic, version 5.
Fields§
§error_code: i16The topic error, or 0 if there was no error.
name: StringThe topic name. Null for non-existing topics queried by ID. This is never null when ErrorCode is zero. One of Name and TopicId is always populated.
is_internal: boolTrue if the topic is internal.
partitions: Vec<MetadataResponsePartition>Each partition in the topic.
Implementations§
Trait Implementations§
Source§impl Clone for MetadataResponseTopic
impl Clone for MetadataResponseTopic
Source§fn clone(&self) -> MetadataResponseTopic
fn clone(&self) -> MetadataResponseTopic
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 MetadataResponseTopic
impl Debug 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 PartialEq for MetadataResponseTopic
impl PartialEq for MetadataResponseTopic
Source§impl Readable for MetadataResponseTopic
impl Readable for MetadataResponseTopic
Source§impl Serialize for MetadataResponseTopic
impl Serialize for MetadataResponseTopic
Source§impl Writable for MetadataResponseTopic
impl Writable for MetadataResponseTopic
impl StructuralPartialEq 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