pub struct ReleaseArtist {
pub id: Option<i32>,
pub name: Option<String>,
pub slug: Option<String>,
}Expand description
Release artist model containing information about an artist in a release
This struct represents an artist associated with a release, including their identification, name, and slug.
§Examples
use qobuz_api_rust::models::ReleaseArtist;
let release_artist = ReleaseArtist {
id: Some(12345),
name: Some("Example Artist".to_string()),
slug: Some("example-artist".to_string()),
};Fields§
§id: Option<i32>Unique identifier for the artist
name: Option<String>Name of the artist
slug: Option<String>URL-friendly slug for the artist
Trait Implementations§
Source§impl Clone for ReleaseArtist
impl Clone for ReleaseArtist
Source§fn clone(&self) -> ReleaseArtist
fn clone(&self) -> ReleaseArtist
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ReleaseArtist
impl Debug for ReleaseArtist
Source§impl Default for ReleaseArtist
impl Default for ReleaseArtist
Source§fn default() -> ReleaseArtist
fn default() -> ReleaseArtist
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseArtist
impl<'de> Deserialize<'de> for ReleaseArtist
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ReleaseArtist
impl RefUnwindSafe for ReleaseArtist
impl Send for ReleaseArtist
impl Sync for ReleaseArtist
impl Unpin for ReleaseArtist
impl UnwindSafe for ReleaseArtist
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more