pub struct MetadataResponseTopic {
pub error_code: i16,
pub topic_id: Uuid,
pub is_internal: bool,
pub partitions: Vec<MetadataResponsePartition>,
pub topic_authorized_operations: i32,
pub unknown_tagged_fields: BTreeMap<i32, Vec<u8>>,
}Expand description
Valid versions: 0-12
Fields
error_code: i16The topic error, or 0 if there was no error.
Supported API versions: 0-12
topic_id: UuidThe topic id.
Supported API versions: 10-12
is_internal: boolTrue if the topic is internal.
Supported API versions: 1-12
partitions: Vec<MetadataResponsePartition>Each partition in the topic.
Supported API versions: 0-12
32-bit bitfield to represent authorized operations for this topic.
Supported API versions: 8-12
unknown_tagged_fields: BTreeMap<i32, Vec<u8>>Other tagged fields
Trait Implementations
sourceimpl Clone for MetadataResponseTopic
impl Clone for MetadataResponseTopic
sourcefn clone(&self) -> MetadataResponseTopic
fn clone(&self) -> MetadataResponseTopic
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for MetadataResponseTopic
impl Debug for MetadataResponseTopic
sourceimpl Default for MetadataResponseTopic
impl Default for MetadataResponseTopic
sourceimpl Message for MetadataResponseTopic
impl Message for MetadataResponseTopic
sourceconst VERSIONS: VersionRange = VersionRange { min: 0, max: 12 }
const VERSIONS: VersionRange = VersionRange { min: 0, max: 12 }
The valid versions for this message.
sourceimpl PartialEq<MetadataResponseTopic> for MetadataResponseTopic
impl PartialEq<MetadataResponseTopic> for MetadataResponseTopic
sourcefn eq(&self, other: &MetadataResponseTopic) -> bool
fn eq(&self, other: &MetadataResponseTopic) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &MetadataResponseTopic) -> bool
fn ne(&self, other: &MetadataResponseTopic) -> bool
This method tests for !=.
impl StructuralPartialEq for MetadataResponseTopic
Auto Trait Implementations
impl RefUnwindSafe for MetadataResponseTopic
impl Send for MetadataResponseTopic
impl Sync for MetadataResponseTopic
impl Unpin for MetadataResponseTopic
impl UnwindSafe for MetadataResponseTopic
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more