pub struct ListConsumerGroupOffsetsSpec { /* private fields */ }Expand description
Specification of consumer group offsets to list using
Admin::list_consumer_group_offsets_with_group_specs.
Implementations§
Source§impl ListConsumerGroupOffsetsSpec
impl ListConsumerGroupOffsetsSpec
Sourcepub fn set_topic_partitions(
self,
topic_partitions: Option<Vec<TopicPartition>>,
) -> Self
pub fn set_topic_partitions( self, topic_partitions: Option<Vec<TopicPartition>>, ) -> Self
Sourcepub fn topic_partitions(&self) -> Option<&[TopicPartition]>
pub fn topic_partitions(&self) -> Option<&[TopicPartition]>
Returns the topic partitions whose offsets are to be listed for a
consumer group. None indicates that offsets of all partitions of the
group are to be listed.
Trait Implementations§
Source§impl Clone for ListConsumerGroupOffsetsSpec
impl Clone for ListConsumerGroupOffsetsSpec
Source§impl Debug for ListConsumerGroupOffsetsSpec
impl Debug for ListConsumerGroupOffsetsSpec
impl Eq for ListConsumerGroupOffsetsSpec
Source§impl Hash for ListConsumerGroupOffsetsSpec
impl Hash for ListConsumerGroupOffsetsSpec
impl StructuralPartialEq for ListConsumerGroupOffsetsSpec
Auto Trait Implementations§
impl Freeze for ListConsumerGroupOffsetsSpec
impl RefUnwindSafe for ListConsumerGroupOffsetsSpec
impl Send for ListConsumerGroupOffsetsSpec
impl Sync for ListConsumerGroupOffsetsSpec
impl Unpin for ListConsumerGroupOffsetsSpec
impl UnsafeUnpin for ListConsumerGroupOffsetsSpec
impl UnwindSafe for ListConsumerGroupOffsetsSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more