pub struct AdminDescribeTopicPartitionsTopic { /* private fields */ }Expand description
One requested topic and its broker-provided partition subset.
Implementations§
Source§impl AdminDescribeTopicPartitionsTopic
impl AdminDescribeTopicPartitionsTopic
Sourcepub const fn error_code(&self) -> i16
pub const fn error_code(&self) -> i16
Returns Kafka’s exact signed topic error.
Sourcepub const fn topic_id(&self) -> [u8; 16]
pub const fn topic_id(&self) -> [u8; 16]
Returns all sixteen topic-ID bytes, including all-zero values.
Sourcepub fn partitions(&self) -> &[AdminDescribeTopicPartition]
pub fn partitions(&self) -> &[AdminDescribeTopicPartition]
Returns partitions in broker page order.
Returns Kafka’s exact authorized-operations bitfield or sentinel.
Sourcepub fn into_parts(
self,
) -> (i16, String, [u8; 16], bool, Vec<AdminDescribeTopicPartition>, i32)
pub fn into_parts( self, ) -> (i16, String, [u8; 16], bool, Vec<AdminDescribeTopicPartition>, i32)
Consumes every exact topic fact into stable owned parts.
Trait Implementations§
impl Eq for AdminDescribeTopicPartitionsTopic
impl StructuralPartialEq for AdminDescribeTopicPartitionsTopic
Auto Trait Implementations§
impl Freeze for AdminDescribeTopicPartitionsTopic
impl RefUnwindSafe for AdminDescribeTopicPartitionsTopic
impl Send for AdminDescribeTopicPartitionsTopic
impl Sync for AdminDescribeTopicPartitionsTopic
impl Unpin for AdminDescribeTopicPartitionsTopic
impl UnsafeUnpin for AdminDescribeTopicPartitionsTopic
impl UnwindSafe for AdminDescribeTopicPartitionsTopic
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