pub struct TopicPartitionListElem<'a> { /* private fields */ }
Expand description

One element of the topic partition list.

Implementations

Returns the topic name.

Returns the optional error associated to the specific entry in the TPL.

Returns the partition number.

Returns the offset.

Sets the offset.

Returns the optional metadata associated with the entry.

Sets the optional metadata associated with the entry.

Trait Implementations

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

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.