Struct rust_tdlib::types::GetGroupCallStreamSegment
source · pub struct GetGroupCallStreamSegment { /* private fields */ }
Expand description
Returns a file with a segment of a group call stream in a modified OGG format for audio or MPEG-4 format for video
Implementations§
source§impl GetGroupCallStreamSegment
impl GetGroupCallStreamSegment
pub fn from_json<S: AsRef<str>>(json: S) -> Result<Self>
pub fn builder() -> GetGroupCallStreamSegmentBuilder
pub fn group_call_id(&self) -> i32
pub fn time_offset(&self) -> i64
pub fn scale(&self) -> i32
pub fn channel_id(&self) -> i32
pub fn video_quality(&self) -> &GroupCallVideoQuality
Trait Implementations§
source§impl AsRef<GetGroupCallStreamSegment> for GetGroupCallStreamSegment
impl AsRef<GetGroupCallStreamSegment> for GetGroupCallStreamSegment
source§fn as_ref(&self) -> &GetGroupCallStreamSegment
fn as_ref(&self) -> &GetGroupCallStreamSegment
Converts this type into a shared reference of the (usually inferred) input type.
source§impl Clone for GetGroupCallStreamSegment
impl Clone for GetGroupCallStreamSegment
source§fn clone(&self) -> GetGroupCallStreamSegment
fn clone(&self) -> GetGroupCallStreamSegment
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 GetGroupCallStreamSegment
impl Debug for GetGroupCallStreamSegment
source§impl Default for GetGroupCallStreamSegment
impl Default for GetGroupCallStreamSegment
source§fn default() -> GetGroupCallStreamSegment
fn default() -> GetGroupCallStreamSegment
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GetGroupCallStreamSegment
impl<'de> Deserialize<'de> for GetGroupCallStreamSegment
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