1 2 3 4 5 6 7 8 9 10 11 12
use bincode::{Decode, Encode}; use std::path::PathBuf; #[derive(Encode, Decode)] pub struct Song { pub path: PathBuf, pub title: String, pub album: String, pub artists: Vec<String>, pub genre: String, pub year: String, }