SpotifyObject

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

Required Methods§

Source

fn new(raw_object: &JsonValue) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§