Struct rust_tdlib::types::GroupCallParticipant
source · [−]pub struct GroupCallParticipant { /* private fields */ }
Expand description
Represents a group call participant
Implementations
sourceimpl 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
sourceimpl AsRef<GroupCallParticipant> for GroupCallParticipant
impl AsRef<GroupCallParticipant> for GroupCallParticipant
sourcefn as_ref(&self) -> &GroupCallParticipant
fn as_ref(&self) -> &GroupCallParticipant
Converts this type into a shared reference of the (usually inferred) input type.
sourceimpl Clone for GroupCallParticipant
impl Clone for GroupCallParticipant
sourcefn clone(&self) -> GroupCallParticipant
fn clone(&self) -> GroupCallParticipant
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for GroupCallParticipant
impl Debug for GroupCallParticipant
sourceimpl Default for GroupCallParticipant
impl Default for GroupCallParticipant
sourcefn default() -> GroupCallParticipant
fn default() -> GroupCallParticipant
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GroupCallParticipant
impl<'de> Deserialize<'de> for GroupCallParticipant
sourcefn 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
sourceimpl Serialize for GroupCallParticipant
impl Serialize for GroupCallParticipant
Auto Trait Implementations
impl RefUnwindSafe for GroupCallParticipant
impl Send for GroupCallParticipant
impl Sync for GroupCallParticipant
impl Unpin for GroupCallParticipant
impl UnwindSafe for GroupCallParticipant
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more