pub struct DashConfig {
pub segment_duration: u32,
pub use_template: bool,
pub use_timeline: bool,
}Expand description
DASH output configuration.
Fields§
§segment_duration: u32Segment duration in seconds (default: 4).
use_template: boolUse segment template mode.
use_timeline: boolUse segment timeline.
Trait Implementations§
Source§impl Clone for DashConfig
impl Clone for DashConfig
Source§fn clone(&self) -> DashConfig
fn clone(&self) -> DashConfig
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 moreSource§impl Debug for DashConfig
impl Debug for DashConfig
Source§impl Default for DashConfig
impl Default for DashConfig
Source§impl<'de> Deserialize<'de> for DashConfig
impl<'de> Deserialize<'de> for DashConfig
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
Auto Trait Implementations§
impl Freeze for DashConfig
impl RefUnwindSafe for DashConfig
impl Send for DashConfig
impl Sync for DashConfig
impl Unpin for DashConfig
impl UnsafeUnpin for DashConfig
impl UnwindSafe for DashConfig
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