#[non_exhaustive]pub struct DescribedGroup {
pub error_code: i16,
pub group_id: GroupId,
pub group_state: StrBytes,
pub protocol_type: StrBytes,
pub protocol_data: StrBytes,
pub members: Vec<DescribedGroupMember>,
pub authorized_operations: i32,
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.error_code: i16The describe error, or 0 if there was no error.
Supported API versions: 0-5
group_id: GroupIdThe group ID string.
Supported API versions: 0-5
group_state: StrBytesThe group state string, or the empty string.
Supported API versions: 0-5
protocol_type: StrBytesThe group protocol type, or the empty string.
Supported API versions: 0-5
protocol_data: StrBytesThe group protocol data, or the empty string.
Supported API versions: 0-5
members: Vec<DescribedGroupMember>The group members.
Supported API versions: 0-5
32-bit bitfield to represent authorized operations for this group.
Supported API versions: 3-5
unknown_tagged_fields: BTreeMap<i32, Bytes>Other tagged fields
Implementations§
source§impl DescribedGroup
impl DescribedGroup
sourcepub fn with_error_code(self, value: i16) -> Self
pub fn with_error_code(self, value: i16) -> Self
Sets error_code to the passed value.
The describe error, or 0 if there was no error.
Supported API versions: 0-5
sourcepub fn with_group_id(self, value: GroupId) -> Self
pub fn with_group_id(self, value: GroupId) -> Self
Sets group_id to the passed value.
The group ID string.
Supported API versions: 0-5
sourcepub fn with_group_state(self, value: StrBytes) -> Self
pub fn with_group_state(self, value: StrBytes) -> Self
Sets group_state to the passed value.
The group state string, or the empty string.
Supported API versions: 0-5
sourcepub fn with_protocol_type(self, value: StrBytes) -> Self
pub fn with_protocol_type(self, value: StrBytes) -> Self
Sets protocol_type to the passed value.
The group protocol type, or the empty string.
Supported API versions: 0-5
sourcepub fn with_protocol_data(self, value: StrBytes) -> Self
pub fn with_protocol_data(self, value: StrBytes) -> Self
Sets protocol_data to the passed value.
The group protocol data, or the empty string.
Supported API versions: 0-5
sourcepub fn with_members(self, value: Vec<DescribedGroupMember>) -> Self
pub fn with_members(self, value: Vec<DescribedGroupMember>) -> Self
Sets members to the passed value.
The group members.
Supported API versions: 0-5
Sets authorized_operations to the passed value.
32-bit bitfield to represent authorized operations for this group.
Supported API versions: 3-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 DescribedGroup
impl Clone for DescribedGroup
source§fn clone(&self) -> DescribedGroup
fn clone(&self) -> DescribedGroup
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DescribedGroup
impl Debug for DescribedGroup
source§impl Decodable for DescribedGroup
impl Decodable for DescribedGroup
source§impl Default for DescribedGroup
impl Default for DescribedGroup
source§impl Encodable for DescribedGroup
impl Encodable for DescribedGroup
source§impl Message for DescribedGroup
impl Message for DescribedGroup
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
source§impl PartialEq for DescribedGroup
impl PartialEq for DescribedGroup
impl StructuralPartialEq for DescribedGroup
Auto Trait Implementations§
impl !Freeze for DescribedGroup
impl RefUnwindSafe for DescribedGroup
impl Send for DescribedGroup
impl Sync for DescribedGroup
impl Unpin for DescribedGroup
impl UnwindSafe for DescribedGroup
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)