pub struct CatchupConfig {
pub mode: CatchupMode,
pub source: String,
pub catchup_days: i32,
pub supports_timeshifting: bool,
pub terminates: bool,
pub granularity_seconds: i32,
pub is_ts_stream: bool,
}Expand description
Fully resolved catchup configuration for a channel after
ConfigureCatchupMode() processing.
Fields§
§mode: CatchupModeThe active catchup mode.
source: StringThe fully-resolved URL template for catchup playback.
Contains placeholders like {utc}, {duration}, ${start}, etc.
catchup_days: i32Number of catchup days available.
supports_timeshifting: boolWhether the catchup source supports live-stream timeshifting.
terminates: boolWhether the catchup stream terminates (has end-time specifier).
granularity_seconds: i32Granularity in seconds (1 = second-level, 60 = minute-level).
is_ts_stream: boolWhether the catchup stream is a TS (MPEG-TS) stream.
Trait Implementations§
Source§impl Clone for CatchupConfig
impl Clone for CatchupConfig
Source§fn clone(&self) -> CatchupConfig
fn clone(&self) -> CatchupConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 CatchupConfig
impl Debug for CatchupConfig
Source§impl Default for CatchupConfig
impl Default for CatchupConfig
Source§impl<'de> Deserialize<'de> for CatchupConfig
impl<'de> Deserialize<'de> for CatchupConfig
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
Source§impl PartialEq for CatchupConfig
impl PartialEq for CatchupConfig
Source§impl Serialize for CatchupConfig
impl Serialize for CatchupConfig
impl Eq for CatchupConfig
impl StructuralPartialEq for CatchupConfig
Auto Trait Implementations§
impl Freeze for CatchupConfig
impl RefUnwindSafe for CatchupConfig
impl Send for CatchupConfig
impl Sync for CatchupConfig
impl Unpin for CatchupConfig
impl UnsafeUnpin for CatchupConfig
impl UnwindSafe for CatchupConfig
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