pub struct Joined {
pub channel_id: ChannelId,
pub voice_session: VoiceSessionId,
pub participants: Vec<VoiceParticipant>,
pub ice_servers: Vec<IceServer>,
pub ice_policy: IcePolicy,
pub mesh_max: u32,
}Expand description
The voice.join response.
Fields§
§channel_id: ChannelIdThe voice channel.
voice_session: VoiceSessionIdThe joiner’s new stay.
participants: Vec<VoiceParticipant>Everyone in the channel, the joiner included, oldest first, with key packages.
ice_servers: Vec<IceServer>ICE servers to use.
ice_policy: IcePolicyWhich candidates to use.
mesh_max: u32The host’s participant cap for any voice channel.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Joined
impl<'de> Deserialize<'de> for Joined
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Joined
impl StructuralPartialEq for Joined
Auto Trait Implementations§
impl Freeze for Joined
impl RefUnwindSafe for Joined
impl Send for Joined
impl Sync for Joined
impl Unpin for Joined
impl UnsafeUnpin for Joined
impl UnwindSafe for Joined
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