pub struct File {
pub id: String,
pub name: String,
pub filename: String,
pub path: String,
}Expand description
Metadata only: discovery never opens playlist content.
Fields§
§id: StringOpaque path selector; authorization always comes from the current roots.
name: StringOriginal filename without its extension.
filename: StringOriginal filename, including its .m3u or .m3u8 extension.
path: StringCanonical path, deduplicated across overlapping roots.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for File
impl RefUnwindSafe for File
impl Send for File
impl Sync for File
impl Unpin for File
impl UnwindSafe for File
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