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.)

Required Methods§

source

fn new(raw_object: &JsonValue) -> Self

Implementors§