pub struct MetadataResponseTopic {
pub error_code: i16,
pub name: Option<String>,
pub topic_id: Uuid,
pub is_internal: bool,
pub partitions: Vec<MetadataResponsePartition>,
pub topic_authorized_operations: i32,
pub unknown_tagged_fields: Vec<RawTaggedField>,
}
Fields§
§error_code: i16
The topic error, or 0 if there was no error.
name: Option<String>
The topic name.
topic_id: Uuid
The topic id.
is_internal: bool
True if the topic is internal.
partitions: Vec<MetadataResponsePartition>
Each partition in the topic.
32-bit bitfield to represent authorized operations for this topic.
unknown_tagged_fields: Vec<RawTaggedField>
Unknown tagged fields.
Trait Implementations§
Source§impl Clone for MetadataResponseTopic
impl Clone for MetadataResponseTopic
Source§fn clone(&self) -> MetadataResponseTopic
fn clone(&self) -> MetadataResponseTopic
Returns a copy 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§fn default() -> MetadataResponseTopic
fn default() -> MetadataResponseTopic
Returns the “default value” for a type. Read more
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