pub struct GroupCallParticipant { /* private fields */ }
Expand description
Represents a group call participant
Implementations§
Source§impl GroupCallParticipant
impl GroupCallParticipant
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> GroupCallParticipantBuilder
pub fn participant_id(&self) -> &MessageSender
pub fn audio_source_id(&self) -> i32
pub fn screen_sharing_audio_source_id(&self) -> i32
pub fn video_info(&self) -> &Option<GroupCallParticipantVideoInfo>
pub fn screen_sharing_video_info( &self, ) -> &Option<GroupCallParticipantVideoInfo>
pub fn bio(&self) -> &String
pub fn is_current_user(&self) -> bool
pub fn is_speaking(&self) -> bool
pub fn is_hand_raised(&self) -> bool
pub fn can_be_muted_for_all_users(&self) -> bool
pub fn can_be_unmuted_for_all_users(&self) -> bool
pub fn can_be_muted_for_current_user(&self) -> bool
pub fn can_be_unmuted_for_current_user(&self) -> bool
pub fn is_muted_for_all_users(&self) -> bool
pub fn is_muted_for_current_user(&self) -> bool
pub fn can_unmute_self(&self) -> bool
pub fn volume_level(&self) -> i32
pub fn order(&self) -> &String
Trait Implementations§
Source§impl AsRef<GroupCallParticipant> for GroupCallParticipant
impl AsRef<GroupCallParticipant> for GroupCallParticipant
Source§fn as_ref(&self) -> &GroupCallParticipant
fn as_ref(&self) -> &GroupCallParticipant
Converts this type into a shared reference of the (usually inferred) input type.
Source§impl Clone for GroupCallParticipant
impl Clone for GroupCallParticipant
Source§fn clone(&self) -> GroupCallParticipant
fn clone(&self) -> GroupCallParticipant
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 GroupCallParticipant
impl Debug for GroupCallParticipant
Source§impl Default for GroupCallParticipant
impl Default for GroupCallParticipant
Source§fn default() -> GroupCallParticipant
fn default() -> GroupCallParticipant
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupCallParticipant
impl<'de> Deserialize<'de> for GroupCallParticipant
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
Auto Trait Implementations§
impl Freeze for GroupCallParticipant
impl RefUnwindSafe for GroupCallParticipant
impl Send for GroupCallParticipant
impl Sync for GroupCallParticipant
impl Unpin for GroupCallParticipant
impl UnwindSafe for GroupCallParticipant
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