pub struct GroupCallStream {
pub channel_id: i32,
pub scale: i32,
pub time_offset: i64,
}
Expand description
Describes an available stream in a group call
Fields§
§channel_id: i32
Identifier of an audio/video channel
scale: i32
Scale of segment durations in the stream. The duration is 1000/(2**scale) milliseconds
time_offset: i64
Point in time when the stream currently ends; Unix timestamp in milliseconds
Trait Implementations§
Source§impl Clone for GroupCallStream
impl Clone for GroupCallStream
Source§fn clone(&self) -> GroupCallStream
fn clone(&self) -> GroupCallStream
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 moreSource§impl Debug for GroupCallStream
impl Debug for GroupCallStream
Source§impl Default for GroupCallStream
impl Default for GroupCallStream
Source§fn default() -> GroupCallStream
fn default() -> GroupCallStream
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GroupCallStream
impl<'de> Deserialize<'de> for GroupCallStream
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
Source§impl PartialEq for GroupCallStream
impl PartialEq for GroupCallStream
Source§impl Serialize for GroupCallStream
impl Serialize for GroupCallStream
impl StructuralPartialEq for GroupCallStream
Auto Trait Implementations§
impl Freeze for GroupCallStream
impl RefUnwindSafe for GroupCallStream
impl Send for GroupCallStream
impl Sync for GroupCallStream
impl Unpin for GroupCallStream
impl UnwindSafe for GroupCallStream
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