pub struct M3u8Entry<'a> {
pub title: &'a str,
pub duration_secs: f64,
pub relative_path: &'a str,
}Expand description
One ordered entry in an extended-M3U8 playlist.
Order is significant: the liked and playlist ordering is preserved exactly as given.
An empty relative_path marks a member absent from the local library
(Liked from another creator, or filtered out by --limit/--since). Such an
entry renders as a # (not in library) <title> comment line rather than an
#EXTINF + path pair, so the playlist never carries a dangling path
(HARDENING L1). A present member always has a non-empty relative path.
Fields§
§title: &'a str§duration_secs: f64§relative_path: &'a strTrait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for M3u8Entry<'a>
impl<'a> RefUnwindSafe for M3u8Entry<'a>
impl<'a> Send for M3u8Entry<'a>
impl<'a> Sync for M3u8Entry<'a>
impl<'a> Unpin for M3u8Entry<'a>
impl<'a> UnsafeUnpin for M3u8Entry<'a>
impl<'a> UnwindSafe for M3u8Entry<'a>
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