Add artist metadata fields #69
@ -17,12 +17,12 @@ use serde::{Deserialize, Serialize};
|
|||||||
use url::Url;
|
use url::Url;
|
||||||
use uuid::Uuid;
|
use uuid::Uuid;
|
||||||
|
|
||||||
/// Object with trait contains a valid URL.
|
/// An object with the [`IUrl`] trait contains a valid URL.
|
||||||
pub trait IUrl {
|
pub trait IUrl {
|
||||||
fn url(&self) -> &str;
|
fn url(&self) -> &str;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Object with trait contains a [MusicBrainz
|
/// An object with the [`IMbid`] trait contains a [MusicBrainz
|
||||||
/// Identifier](https://musicbrainz.org/doc/MusicBrainz_Identifier) (MBID).
|
/// Identifier](https://musicbrainz.org/doc/MusicBrainz_Identifier) (MBID).
|
||||||
pub trait IMbid {
|
pub trait IMbid {
|
||||||
fn mbid(&self) -> &str;
|
fn mbid(&self) -> &str;
|
||||||
|
Loading…
Reference in New Issue
Block a user