use std::fmt::Debug; use std::ops::Deref; use crate::util::from_repeated_message; use librespot_core::file_id::FileId; use librespot_protocol as protocol; use protocol::metadata::VideoFile as VideoFileMessage; #[derive(Debug, Clone)] pub struct VideoFiles(pub Vec); impl Deref for VideoFiles { type Target = Vec; fn deref(&self) -> &Self::Target { &self.0 } } from_repeated_message!(VideoFileMessage, VideoFiles);