Struct GroupCall

Source
pub struct GroupCall {
Show 21 fields pub id: i32, pub title: String, pub scheduled_start_date: i32, pub enabled_start_notification: bool, pub is_active: bool, pub is_rtmp_stream: bool, pub is_joined: bool, pub need_rejoin: bool, pub can_be_managed: bool, pub participant_count: i32, pub has_hidden_listeners: bool, pub loaded_all_participants: bool, pub recent_speakers: Vec<GroupCallRecentSpeaker>, pub is_my_video_enabled: bool, pub is_my_video_paused: bool, pub can_enable_video: bool, pub mute_new_participants: bool, pub can_toggle_mute_new_participants: bool, pub record_duration: i32, pub is_video_recorded: bool, pub duration: i32,
}
Expand description

Describes a group call

Fields§

§id: i32

Group call identifier

§title: String

Group call title

§scheduled_start_date: i32

Point in time (Unix timestamp) when the group call is supposed to be started by an administrator; 0 if it is already active or was ended

§enabled_start_notification: bool

True, if the group call is scheduled and the current user will receive a notification when the group call will start

§is_active: bool

True, if the call is active

§is_rtmp_stream: bool

True, if the chat is an RTMP stream instead of an ordinary video chat

§is_joined: bool

True, if the call is joined

§need_rejoin: bool

True, if user was kicked from the call because of network loss and the call needs to be rejoined

§can_be_managed: bool

True, if the current user can manage the group call

§participant_count: i32

Number of participants in the group call

§has_hidden_listeners: bool

True, if group call participants, which are muted, aren’t returned in participant list

§loaded_all_participants: bool

True, if all group call participants are loaded

§recent_speakers: Vec<GroupCallRecentSpeaker>

At most 3 recently speaking users in the group call

§is_my_video_enabled: bool

True, if the current user’s video is enabled

§is_my_video_paused: bool

True, if the current user’s video is paused

§can_enable_video: bool

True, if the current user can broadcast video or share screen

§mute_new_participants: bool

True, if only group call administrators can unmute new participants

§can_toggle_mute_new_participants: bool

True, if the current user can enable or disable mute_new_participants setting

§record_duration: i32

Duration of the ongoing group call recording, in seconds; 0 if none. An updateGroupCall update is not triggered when value of this field changes, but the same recording goes on

§is_video_recorded: bool

True, if a video file is being recorded for the call

§duration: i32

Call duration, in seconds; for ended calls only

Trait Implementations§

Source§

impl Clone for GroupCall

Source§

fn clone(&self) -> GroupCall

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for GroupCall

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for GroupCall

Source§

fn default() -> GroupCall

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for GroupCall

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl PartialEq for GroupCall

Source§

fn eq(&self, other: &GroupCall) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for GroupCall

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for GroupCall

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,