#[non_exhaustive]pub struct QualityInfo {
pub bitrate: u64,
pub resolution: Option<(u32, u32)>,
pub codecs: Option<String>,
}Expand description
One selectable video QualityLevel.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.bitrate: u64QualityLevel@Bitrate, bits per second.
resolution: Option<(u32, u32)>(MaxWidth, MaxHeight).
codecs: Option<String>The RFC 6381 codec string, when it can be derived.
Trait Implementations§
Source§impl Clone for QualityInfo
impl Clone for QualityInfo
Source§impl Debug for QualityInfo
impl Debug for QualityInfo
impl Eq for QualityInfo
Source§impl PartialEq for QualityInfo
impl PartialEq for QualityInfo
impl StructuralPartialEq for QualityInfo
Auto Trait Implementations§
impl Forget for QualityInfo
impl Freeze for QualityInfo
impl Move for QualityInfo
impl RefUnwindSafe for QualityInfo
impl Send for QualityInfo
impl Sync for QualityInfo
impl Unpin for QualityInfo
impl UnsafeUnpin for QualityInfo
impl UnwindSafe for QualityInfo
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