pub struct ConsumerGroupMetadata {
pub group_id: String,
pub generation_id: i32,
pub member_id: String,
pub group_instance_id: Option<String>,
}Expand description
Consumer Group Metadata.
Fields§
§group_id: StringGroup Id.
generation_id: i32Generation Id.
member_id: StringMember Id.
group_instance_id: Option<String>Group Instance Id.
Implementations§
Source§impl ConsumerGroupMetadata
impl ConsumerGroupMetadata
Sourcepub fn with_generation_id(self, generation_id: i32) -> Self
pub fn with_generation_id(self, generation_id: i32) -> Self
Sets generation id and returns the updated value.
Sourcepub fn with_member_id(self, member_id: impl Into<String>) -> Self
pub fn with_member_id(self, member_id: impl Into<String>) -> Self
Sets member id and returns the updated value.
Sourcepub fn with_group_instance_id(
self,
group_instance_id: impl Into<String>,
) -> Self
pub fn with_group_instance_id( self, group_instance_id: impl Into<String>, ) -> Self
Sets group instance id and returns the updated value.
Trait Implementations§
Source§impl Clone for ConsumerGroupMetadata
impl Clone for ConsumerGroupMetadata
Source§fn clone(&self) -> ConsumerGroupMetadata
fn clone(&self) -> ConsumerGroupMetadata
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 ConsumerGroupMetadata
impl Debug for ConsumerGroupMetadata
Source§impl PartialEq for ConsumerGroupMetadata
impl PartialEq for ConsumerGroupMetadata
impl Eq for ConsumerGroupMetadata
impl StructuralPartialEq for ConsumerGroupMetadata
Auto Trait Implementations§
impl Freeze for ConsumerGroupMetadata
impl RefUnwindSafe for ConsumerGroupMetadata
impl Send for ConsumerGroupMetadata
impl Sync for ConsumerGroupMetadata
impl Unpin for ConsumerGroupMetadata
impl UnsafeUnpin for ConsumerGroupMetadata
impl UnwindSafe for ConsumerGroupMetadata
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.