diff options
Diffstat (limited to 'src/lastfm/api_types.rs')
-rw-r--r-- | src/lastfm/api_types.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lastfm/api_types.rs b/src/lastfm/api_types.rs index 28b593a..30d7114 100644 --- a/src/lastfm/api_types.rs +++ b/src/lastfm/api_types.rs @@ -1,4 +1,5 @@ #![allow(non_camel_case_types)] +#![allow(non_snake_case)] #[derive(Deserialize)] pub struct track_artist { @@ -28,6 +29,7 @@ pub struct track { #[derive(Deserialize)] pub struct recent_tracks_recenttracks_attr { pub total: String, // no idea why this is a string + pub totalPages: String, } #[derive(Deserialize)] |