pub struct RemoteParticipant { /* private fields */ }Implementations§
Source§impl RemoteParticipant
impl RemoteParticipant
pub fn get_track_publication( &self, sid: &TrackSid, ) -> Option<RemoteTrackPublication>
pub fn sid(&self) -> ParticipantSid
pub fn identity(&self) -> ParticipantIdentity
pub fn name(&self) -> String
pub fn metadata(&self) -> String
pub fn attributes(&self) -> HashMap<String, String>
pub fn is_speaking(&self) -> bool
pub fn track_publications(&self) -> HashMap<TrackSid, RemoteTrackPublication>
pub fn audio_level(&self) -> f32
pub fn connection_quality(&self) -> ConnectionQuality
pub fn kind(&self) -> ParticipantKind
pub fn kind_details(&self) -> Vec<ParticipantKindDetail>
pub fn disconnect_reason(&self) -> DisconnectReason
pub fn permission(&self) -> Option<ParticipantPermission>
pub fn is_encrypted(&self) -> bool
Trait Implementations§
Source§impl Clone for RemoteParticipant
impl Clone for RemoteParticipant
Source§fn clone(&self) -> RemoteParticipant
fn clone(&self) -> RemoteParticipant
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 moreAuto Trait Implementations§
impl Freeze for RemoteParticipant
impl !RefUnwindSafe for RemoteParticipant
impl Send for RemoteParticipant
impl Sync for RemoteParticipant
impl Unpin for RemoteParticipant
impl UnsafeUnpin for RemoteParticipant
impl !UnwindSafe for RemoteParticipant
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