Struct rdkafka::topic_partition_list::TopicPartitionList [] [src]

pub struct TopicPartitionList {
    pub topics: Topics,
}

Map of of topics with optionally partition configuration.

Fields

Methods

impl TopicPartitionList
[src]

Create list based on a list from the rdkafka side.

Create an empty list

Create list with specified topics with default configuration

Add topic with partitions configured

Trait Implementations

impl Clone for TopicPartitionList
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for TopicPartitionList
[src]

Formats the value using the given formatter.

impl PartialEq for TopicPartitionList
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Deref for TopicPartitionList
[src]

The resulting type after dereferencing

The method called to dereference a value