Struct command::object::VoiceParticipant
zaun_community_protocol::command::object::VoiceParticipant · Struct
pub struct VoiceParticipant { … }One member in a voice channel.
Fields
Section titled “Fields”member_id: MemberId
Section titled “member_id: MemberId”The member.
voice_session: VoiceSessionId
Section titled “voice_session: VoiceSessionId”This stay in the channel; a rejoin gets a new one.
key_package: Option<Opaque>
Section titled “key_package: Option<Opaque>”The member’s key package for this stay (opaque to the host). Only participants of the same channel receive it; other viewers see the participant without it.
member_public_key: Option<PublicKey>
Section titled “member_public_key: Option<PublicKey>”The member’s public key, sent with key_package: the key that signed it (ADR-0018).
Participants verify the key package and the member’s sender keys under it.
self_mute: bool
Section titled “self_mute: bool”Muted by the member.
self_deaf: bool
Section titled “self_deaf: bool”Deafened by the member.
server_mute: bool
Section titled “server_mute: bool”Muted by a moderator (MUTE_MEMBERS); kept across stays.
server_deaf: bool
Section titled “server_deaf: bool”Deafened by a moderator (DEAFEN_MEMBERS); kept across stays.
can_speak: bool
Section titled “can_speak: bool”Whether the member holds SPEAK in the channel. Clients do not play the audio of a
participant who may not speak or is server-muted.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq