pub struct MemberResponse {
pub member_id: KafkaString,
pub group_instance_id: Option<KafkaString>,
pub error_code: i16,
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.
error_code: i16The error code, or 0 if there was no error.
_unknown_tagged_fields: Vec<RawTaggedField>Implementations§
Source§impl MemberResponse
impl MemberResponse
pub fn with_member_id(self, value: KafkaString) -> Self
pub fn with_group_instance_id(self, value: Option<KafkaString>) -> Self
pub fn with_error_code(self, value: i16) -> 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 MemberResponse
impl Clone for MemberResponse
Source§fn clone(&self) -> MemberResponse
fn clone(&self) -> MemberResponse
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 MemberResponse
impl Debug for MemberResponse
Source§impl Default for MemberResponse
impl Default for MemberResponse
Source§impl PartialEq for MemberResponse
impl PartialEq for MemberResponse
Source§fn eq(&self, other: &MemberResponse) -> bool
fn eq(&self, other: &MemberResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MemberResponse
Auto Trait Implementations§
impl !Freeze for MemberResponse
impl RefUnwindSafe for MemberResponse
impl Send for MemberResponse
impl Sync for MemberResponse
impl Unpin for MemberResponse
impl UnsafeUnpin for MemberResponse
impl UnwindSafe for MemberResponse
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