Trait spotifyrs::SpotifyObject
source · pub trait SpotifyObject {
// Required method
fn new(raw_object: &JsonValue) -> Self;
}
Expand description
Trait to represent single Spotify objects (i.e. Track, Artist, Album, etc.)
pub trait SpotifyObject {
// Required method
fn new(raw_object: &JsonValue) -> Self;
}
Trait to represent single Spotify objects (i.e. Track, Artist, Album, etc.)