#[non_exhaustive]pub struct Artist {
pub name: String,
pub mbid: String,
pub url: String,
pub image: Vec<TrackImage>,
}Expand description
Detailed artist information
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: StringArtist name
mbid: StringMusicBrainz Identifier (may be empty string if not available)
url: StringLast.fm URL for this artist
image: Vec<TrackImage>Artist images in various sizes
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Artist
impl<'de> Deserialize<'de> for Artist
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 Artist
impl RefUnwindSafe for Artist
impl Send for Artist
impl Sync for Artist
impl Unpin for Artist
impl UnsafeUnpin for Artist
impl UnwindSafe for Artist
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