Struct rust_tdlib::types::GroupCallParticipant
source · 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