Fix crash with unsupported integer types
This commit is contained in:
parent
6f8ef695cd
commit
21e2d06dd7
|
@ -10,11 +10,11 @@ pub struct Model {
|
||||||
pub path: String,
|
pub path: String,
|
||||||
pub filename: String,
|
pub filename: String,
|
||||||
pub source_id: i32,
|
pub source_id: i32,
|
||||||
pub hash: u64,
|
pub hash: u32,
|
||||||
pub artist: Option<String>,
|
pub artist: Option<String>,
|
||||||
pub name: Option<String>,
|
pub name: Option<String>,
|
||||||
pub album: Option<String>,
|
pub album: Option<String>,
|
||||||
pub duration: u64,
|
pub duration: u32,
|
||||||
pub genres: Option<String>,
|
pub genres: Option<String>,
|
||||||
pub track: Option<i32>,
|
pub track: Option<i32>,
|
||||||
pub year: Option<i32>,
|
pub year: Option<i32>,
|
||||||
|
|
Loading…
Reference in New Issue