Add artist metadata fields #69

Merged
wojtek merged 2 commits from 54---add-artist-metadata-fields into main 2023-05-21 17:24:00 +02:00
Showing only changes of commit 6c3e732a40 - Show all commits

View File

@ -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;