#[non_exhaustive]pub struct DescribedGroupMember {
pub member_id: StrBytes,
pub group_instance_id: Option<StrBytes>,
pub client_id: StrBytes,
pub client_host: StrBytes,
pub member_metadata: Bytes,
pub member_assignment: Bytes,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-5
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.member_id: StrBytes
The member ID assigned by the group coordinator.
Supported API versions: 0-5
group_instance_id: Option<StrBytes>
The unique identifier of the consumer instance provided by end user.
Supported API versions: 4-5
client_id: StrBytes
The client ID used in the member’s latest join group request.
Supported API versions: 0-5
client_host: StrBytes
The client host.
Supported API versions: 0-5
member_metadata: Bytes
The metadata corresponding to the current group protocol in use.
Supported API versions: 0-5
member_assignment: Bytes
The current assignment provided by the group leader.
Supported API versions: 0-5
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Implementations§
Source§impl DescribedGroupMember
impl DescribedGroupMember
Sourcepub fn with_member_id(self, value: StrBytes) -> Self
pub fn with_member_id(self, value: StrBytes) -> Self
Sets member_id
to the passed value.
The member ID assigned by the group coordinator.
Supported API versions: 0-5
Sourcepub fn with_group_instance_id(self, value: Option<StrBytes>) -> Self
pub fn with_group_instance_id(self, value: Option<StrBytes>) -> Self
Sets group_instance_id
to the passed value.
The unique identifier of the consumer instance provided by end user.
Supported API versions: 4-5
Sourcepub fn with_client_id(self, value: StrBytes) -> Self
pub fn with_client_id(self, value: StrBytes) -> Self
Sets client_id
to the passed value.
The client ID used in the member’s latest join group request.
Supported API versions: 0-5
Sourcepub fn with_client_host(self, value: StrBytes) -> Self
pub fn with_client_host(self, value: StrBytes) -> Self
Sets client_host
to the passed value.
The client host.
Supported API versions: 0-5
Sourcepub fn with_member_metadata(self, value: Bytes) -> Self
pub fn with_member_metadata(self, value: Bytes) -> Self
Sets member_metadata
to the passed value.
The metadata corresponding to the current group protocol in use.
Supported API versions: 0-5
Sourcepub fn with_member_assignment(self, value: Bytes) -> Self
pub fn with_member_assignment(self, value: Bytes) -> Self
Sets member_assignment
to the passed value.
The current assignment provided by the group leader.
Supported API versions: 0-5
Sourcepub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
pub fn with_unknown_tagged_fields(self, value: BTreeMap<i32, Bytes>) -> Self
Sets unknown_tagged_fields to the passed value.
Sourcepub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
pub fn with_unknown_tagged_field(self, key: i32, value: Bytes) -> Self
Inserts an entry into unknown_tagged_fields.
Trait Implementations§
Source§impl Clone for DescribedGroupMember
impl Clone for DescribedGroupMember
Source§fn clone(&self) -> DescribedGroupMember
fn clone(&self) -> DescribedGroupMember
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for DescribedGroupMember
impl Debug for DescribedGroupMember
Source§impl Decodable for DescribedGroupMember
Available on crate feature client
only.
impl Decodable for DescribedGroupMember
client
only.Source§impl Default for DescribedGroupMember
impl Default for DescribedGroupMember
Source§impl Encodable for DescribedGroupMember
Available on crate feature broker
only.
impl Encodable for DescribedGroupMember
broker
only.