pub struct DescribedTopicPartitions {
pub error_code: i16,
pub name: Option<String>,
pub topic_id: [u8; 16],
pub is_internal: bool,
pub partitions: Vec<DescribedTopicPartition>,
pub topic_authorized_operations: i32,
}Expand description
One topic in a DescribeTopicPartitions (api 75) v0 response.
Fields§
§error_code: i16Kafka error code (0 is success).
name: Option<String>Topic, resource, group, or feature name.
topic_id: [u8; 16]Topic id (UUID), or zeros.
is_internal: boolWhen true, this is an internal topic.
partitions: Vec<DescribedTopicPartition>Partitions in this topic.
Bitfield of authorized topic operations.
Implementations§
Trait Implementations§
Source§impl Clone for DescribedTopicPartitions
impl Clone for DescribedTopicPartitions
Source§fn clone(&self) -> DescribedTopicPartitions
fn clone(&self) -> DescribedTopicPartitions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DescribedTopicPartitions
impl Debug for DescribedTopicPartitions
impl Eq for DescribedTopicPartitions
Source§impl PartialEq for DescribedTopicPartitions
impl PartialEq for DescribedTopicPartitions
impl StructuralPartialEq for DescribedTopicPartitions
Auto Trait Implementations§
impl Freeze for DescribedTopicPartitions
impl RefUnwindSafe for DescribedTopicPartitions
impl Send for DescribedTopicPartitions
impl Sync for DescribedTopicPartitions
impl Unpin for DescribedTopicPartitions
impl UnsafeUnpin for DescribedTopicPartitions
impl UnwindSafe for DescribedTopicPartitions
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