pub struct AlbumsSameArtist {
pub albums: Option<ItemSearchResult<Box<Album>>>,
pub artist: Option<Box<Artist>>,
}Expand description
Model containing albums by the same artist
This struct represents a collection of albums by the same artist along with information about the artist.
§Examples
use qobuz_api_rust::models::{AlbumsSameArtist, ItemSearchResult, Album};
let albums_same_artist = AlbumsSameArtist {
albums: Some(ItemSearchResult::<Box<Album>>::default()),
artist: None,
};Fields§
§albums: Option<ItemSearchResult<Box<Album>>>Search results for albums by the same artist
artist: Option<Box<Artist>>The artist whose albums are included
Trait Implementations§
Source§impl Clone for AlbumsSameArtist
impl Clone for AlbumsSameArtist
Source§fn clone(&self) -> AlbumsSameArtist
fn clone(&self) -> AlbumsSameArtist
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 AlbumsSameArtist
impl Debug for AlbumsSameArtist
Source§impl Default for AlbumsSameArtist
impl Default for AlbumsSameArtist
Source§fn default() -> AlbumsSameArtist
fn default() -> AlbumsSameArtist
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AlbumsSameArtist
impl<'de> Deserialize<'de> for AlbumsSameArtist
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 AlbumsSameArtist
impl RefUnwindSafe for AlbumsSameArtist
impl Send for AlbumsSameArtist
impl Sync for AlbumsSameArtist
impl Unpin for AlbumsSameArtist
impl UnwindSafe for AlbumsSameArtist
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