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, Vec<u8>>,
}
Expand description
Valid versions: 0-5
Fields§
§error_code: i16
The describe error, or 0 if there was no error.
Supported API versions: 0-5
group_id: GroupId
The group ID string.
Supported API versions: 0-5
group_state: StrBytes
The group state string, or the empty string.
Supported API versions: 0-5
protocol_type: StrBytes
The group protocol type, or the empty string.
Supported API versions: 0-5
protocol_data: StrBytes
The 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, Vec<u8>>
Other tagged fields
Trait Implementations§
source§impl Clone for DescribedGroup
impl Clone for DescribedGroup
source§fn clone(&self) -> DescribedGroup
fn clone(&self) -> DescribedGroup
Returns a copy of the value. Read more
1.0.0 · 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 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§fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
fn encode<B: ByteBufMut>(
&self,
buf: &mut B,
version: i16
) -> Result<(), EncodeError>
Encode the message into the target buffer.
source§fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
fn compute_size(&self, version: i16) -> Result<usize, EncodeError>
Compute the total size of the message when encoded.
source§impl Message for DescribedGroup
impl Message for DescribedGroup
source§const VERSIONS: VersionRange = _
const VERSIONS: VersionRange = _
The valid versions for this message.