1 2 3 4 5 6 7 8 9 10 11 12 13
//! # Artist //! //! defines the [`Artist`] struct and its methods. use crate::imageset::ImageSet; use serde::{Deserialize, Serialize}; /// A Last.fm artist. #[derive(Deserialize, Serialize, Debug, Clone, PartialEq, Eq, Hash)] pub struct Artist { pub image: ImageSet, pub name: String, pub url: String, }