pub struct VariantStream {
pub program_id: Option<u8>,
pub bandwidth: u32,
pub resolution: (u16, u16),
pub frame_rate: Option<f32>,
pub codecs: Option<String>,
pub uri: String,
}Fields§
§program_id: Option<u8>Identifies the program or content.
bandwidth: u32The average bitrate of the stream in bits per second.
resolution: (u16, u16)The resolution of the video (e.g., 1440x1080).
frame_rate: Option<f32>The frame rate of the video.
codecs: Option<String>Specifies the codecs used for the audio and video streams.
uri: StringThe URI of the m3u8 file containing the media segments for this variant.
Trait Implementations§
Source§impl Debug for VariantStream
impl Debug for VariantStream
Source§impl PartialEq for VariantStream
impl PartialEq for VariantStream
impl StructuralPartialEq for VariantStream
Auto Trait Implementations§
impl Freeze for VariantStream
impl RefUnwindSafe for VariantStream
impl Send for VariantStream
impl Sync for VariantStream
impl Unpin for VariantStream
impl UnwindSafe for VariantStream
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