#[non_exhaustive]pub struct StreamSelection {
pub video_quality: Option<u32>,
pub audio_quality: Option<u32>,
}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.video_quality: Option<u32>§audio_quality: Option<u32>Implementations§
Trait Implementations§
Source§impl Clone for StreamSelection
impl Clone for StreamSelection
Source§fn clone(&self) -> StreamSelection
fn clone(&self) -> StreamSelection
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StreamSelection
Source§impl Debug for StreamSelection
impl Debug for StreamSelection
Source§impl Default for StreamSelection
impl Default for StreamSelection
Source§fn default() -> StreamSelection
fn default() -> StreamSelection
Returns the “default value” for a type. Read more
impl Eq for StreamSelection
Source§impl PartialEq for StreamSelection
impl PartialEq for StreamSelection
Source§fn eq(&self, other: &StreamSelection) -> bool
fn eq(&self, other: &StreamSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StreamSelection
Auto Trait Implementations§
impl Freeze for StreamSelection
impl RefUnwindSafe for StreamSelection
impl Send for StreamSelection
impl Sync for StreamSelection
impl Unpin for StreamSelection
impl UnsafeUnpin for StreamSelection
impl UnwindSafe for StreamSelection
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