Trait rspotify_model::idtypes::Id
source · pub trait Id {
// Required methods
fn id(&self) -> &str;
fn _type(&self) -> Type;
// Provided methods
fn uri(&self) -> String { ... }
fn url(&self) -> String { ... }
}
Expand description
The main interface for an ID.
See the module level documentation for more information.