pub struct MemberIdentity {
pub member_id: KafkaString,
pub group_instance_id: Option<KafkaString>,
pub reason: Option<KafkaString>,
pub _unknown_tagged_fields: Vec<RawTaggedField>,
}Fields§
§member_id: KafkaStringThe member ID to remove from the group.
group_instance_id: Option<KafkaString>The group instance ID to remove from the group.
reason: Option<KafkaString>The reason why the member left the group.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl MemberIdentity
impl MemberIdentity
pub fn with_member_id(self, value: KafkaString) -> Self
pub fn with_group_instance_id(self, value: Option<KafkaString>) -> Self
pub fn with_reason(self, value: Option<KafkaString>) -> Self
pub fn read(buf: &mut Bytes, version: i16) -> Result<Self>
pub fn write(&self, buf: &mut BytesMut, version: i16) -> Result<()>
pub fn encoded_len(&self, version: i16) -> Result<usize>
Trait Implementations§
Source§impl Clone for MemberIdentity
impl Clone for MemberIdentity
Source§fn clone(&self) -> MemberIdentity
fn clone(&self) -> MemberIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MemberIdentity
impl Debug for MemberIdentity
Source§impl Default for MemberIdentity
impl Default for MemberIdentity
Source§impl PartialEq for MemberIdentity
impl PartialEq for MemberIdentity
Source§fn eq(&self, other: &MemberIdentity) -> bool
fn eq(&self, other: &MemberIdentity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemberIdentity
Auto Trait Implementations§
impl !Freeze for MemberIdentity
impl RefUnwindSafe for MemberIdentity
impl Send for MemberIdentity
impl Sync for MemberIdentity
impl Unpin for MemberIdentity
impl UnsafeUnpin for MemberIdentity
impl UnwindSafe for MemberIdentity
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