#[non_exhaustive]pub struct ListedGroup {
pub group_id: GroupId,
pub protocol_type: StrBytes,
pub group_state: StrBytes,
pub group_type: StrBytes,
pub unknown_tagged_fields: BTreeMap<i32, Bytes>,
}
Expand description
Valid versions: 0-5
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.group_id: GroupId
The group ID.
Supported API versions: 0-5
protocol_type: StrBytes
The group protocol type.
Supported API versions: 0-5
group_state: StrBytes
The group state name.
Supported API versions: 4-5
group_type: StrBytes
The group type name.
Supported API versions: 5
unknown_tagged_fields: BTreeMap<i32, Bytes>
Other tagged fields
Implementations§
Source§impl ListedGroup
impl ListedGroup
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.
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.
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 name.
Supported API versions: 4-5
Sourcepub fn with_group_type(self, value: StrBytes) -> Self
pub fn with_group_type(self, value: StrBytes) -> Self
Sets group_type
to the passed value.
The group type name.
Supported API versions: 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 ListedGroup
impl Clone for ListedGroup
Source§fn clone(&self) -> ListedGroup
fn clone(&self) -> ListedGroup
Returns a duplicate 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 ListedGroup
impl Debug for ListedGroup
Source§impl Decodable for ListedGroup
Available on crate feature client
only.
impl Decodable for ListedGroup
Available on crate feature
client
only.Source§impl Default for ListedGroup
impl Default for ListedGroup
Source§impl Encodable for ListedGroup
Available on crate feature broker
only.
impl Encodable for ListedGroup
Available on crate feature
broker
only.Source§impl Message for ListedGroup
impl Message for ListedGroup
Source§const VERSIONS: VersionRange
const VERSIONS: VersionRange
The valid versions for this message.
Source§const DEPRECATED_VERSIONS: Option<VersionRange> = None
const DEPRECATED_VERSIONS: Option<VersionRange> = None
The deprecated versions for this message.
Source§impl PartialEq for ListedGroup
impl PartialEq for ListedGroup
impl StructuralPartialEq for ListedGroup
Auto Trait Implementations§
impl !Freeze for ListedGroup
impl RefUnwindSafe for ListedGroup
impl Send for ListedGroup
impl Sync for ListedGroup
impl Unpin for ListedGroup
impl UnwindSafe for ListedGroup
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