#[non_exhaustive]pub struct Include {
pub broadcast: Relative,
}Expand description
A whole broadcast whose own catalog describes its renditions, listed without opening it.
It shares the listing catalog’s PTS timeline and root settings, including sync.clock and
sync.interval; its own catalog’s settings are ignored.
Listing one subscribes to nothing: a consumer opens the include’s catalog only when it selects it, including an HLS master listing its renditions. An on-demand publisher answers the catalog without starting media. Its rendition IDs belong to that broadcast, never the listing catalog.
Marked #[non_exhaustive] so optional fields can be added later. External callers build one
with Include::new.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.broadcast: RelativeThe include’s broadcast, relative to the broadcast serving this catalog.
Resolve it with Path::try_resolve: a reference that walks
above the root names no broadcast, so the catalog is rejected.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Include
impl<'de> Deserialize<'de> for Include
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>,
impl Eq for Include
impl StructuralPartialEq for Include
Auto Trait Implementations§
impl Freeze for Include
impl RefUnwindSafe for Include
impl Send for Include
impl Sync for Include
impl Unpin for Include
impl UnsafeUnpin for Include
impl UnwindSafe for Include
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.