lastfm 0.10.0

An async client to fetch your Last.fm listening history or the track you are currently playing
Documentation
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,
}