some of those are optional

This commit is contained in:
Erica Z 2024-11-01 13:55:47 +01:00
parent 940254b4fd
commit 286c0e552d

View file

@ -42,8 +42,8 @@ pub struct Child {
pub title: String, pub title: String,
pub album: String, pub album: String,
pub artist: String, pub artist: String,
pub track: u32, pub track: Option<u32>,
pub year: u32, pub year: Option<u32>,
pub starred: Option<()>, pub starred: Option<()>,
pub duration: u64, pub duration: u64,
pub play_count: Option<u32>, pub play_count: Option<u32>,