pub struct Switching {
pub interval: Option<u64>,
pub stype: Option<String>,
}
Expand description
Information used to allow Adaptation Set Switching (for instance, allowing the player to switch between camera angles).
This is different from “bitstream switching”.
Fields§
§interval: Option<u64>
§stype: Option<String>
Valid values are “media” and “bitstream”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Switching
impl<'de> Deserialize<'de> for Switching
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
impl StructuralPartialEq for Switching
Auto Trait Implementations§
impl Freeze for Switching
impl RefUnwindSafe for Switching
impl Send for Switching
impl Sync for Switching
impl Unpin for Switching
impl UnwindSafe for Switching
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