Skip to content

Commit

Permalink
Remove unused structs/properties
Browse files Browse the repository at this point in the history
  • Loading branch information
Insprill committed Jul 18, 2024
1 parent 7215437 commit 664dcde
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/genius.rs
Original file line number Diff line number Diff line change
Expand Up @@ -205,17 +205,11 @@ pub struct GeniusSong {
pub header_image_url: String,
pub release_date_for_display: Option<String>,
pub song_art_image_thumbnail_url: String,
pub api_path: String,
pub album: Option<GeniusAlbum>,
pub stats: GeniusStats,
pub primary_artist: GeniusArtist,
}

#[derive(Deserialize)]
pub struct GeniusAlbumRequest {
pub response: GeniusAlbumResponse,
}

#[derive(Deserialize)]
pub struct GeniusAlbumResponse {
pub album: GeniusAlbum,
Expand Down Expand Up @@ -252,11 +246,6 @@ pub struct GeniusStats {
pub pageviews: Option<i32>,
}

#[derive(Deserialize)]
pub struct GeniusArtistRequest {
pub response: GeniusArtistResponse,
}

#[derive(Deserialize)]
pub struct GeniusArtistResponse {
pub artist: GeniusArtist,
Expand Down

0 comments on commit 664dcde

Please sign in to comment.