#[non_exhaustive]pub struct ConsumerGroup {
pub name: String,
pub topics: HashMap<String, ConsumerTopicMetadata>,
/* private fields */
}Expand description
A Kafka consumer group in a given cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringIdentifier. The name of the consumer group. The consumer_group segment is
used when connecting directly to the cluster. Structured like:
projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
topics: HashMap<String, ConsumerTopicMetadata>Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
Implementations§
Source§impl ConsumerGroup
impl ConsumerGroup
Trait Implementations§
Source§impl Clone for ConsumerGroup
impl Clone for ConsumerGroup
Source§fn clone(&self) -> ConsumerGroup
fn clone(&self) -> ConsumerGroup
Returns a duplicate of the value. Read more
1.0.0 · 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 ConsumerGroup
impl Debug for ConsumerGroup
Source§impl Default for ConsumerGroup
impl Default for ConsumerGroup
Source§fn default() -> ConsumerGroup
fn default() -> ConsumerGroup
Returns the “default value” for a type. Read more
Source§impl Message for ConsumerGroup
impl Message for ConsumerGroup
Source§impl PartialEq for ConsumerGroup
impl PartialEq for ConsumerGroup
impl StructuralPartialEq for ConsumerGroup
Auto Trait Implementations§
impl Freeze for ConsumerGroup
impl RefUnwindSafe for ConsumerGroup
impl Send for ConsumerGroup
impl Sync for ConsumerGroup
impl Unpin for ConsumerGroup
impl UnwindSafe for ConsumerGroup
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