#[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: StrBytesThe 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: StrBytesThe client ID used in the member’s latest join group request.
Supported API versions: 0-5
client_host: StrBytesThe client host.
Supported API versions: 0-5
member_metadata: BytesThe metadata corresponding to the current group protocol in use.
Supported API versions: 0-5
member_assignment: BytesThe 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
impl Decodable for DescribedGroupMember
source§impl Default for DescribedGroupMember
impl Default for DescribedGroupMember
source§impl Encodable for DescribedGroupMember
impl Encodable for DescribedGroupMember
source§impl Message for DescribedGroupMember
impl Message for DescribedGroupMember
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
source§impl PartialEq for DescribedGroupMember
impl PartialEq for DescribedGroupMember
impl StructuralPartialEq for DescribedGroupMember
Auto Trait Implementations§
impl !Freeze for DescribedGroupMember
impl RefUnwindSafe for DescribedGroupMember
impl Send for DescribedGroupMember
impl Sync for DescribedGroupMember
impl Unpin for DescribedGroupMember
impl UnwindSafe for DescribedGroupMember
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)