pub struct TopArtistsResponse {
pub href: Option<String>,
pub limit: Option<u32>,
pub next: Option<String>,
pub offset: Option<u32>,
pub previous: Option<String>,
pub total: Option<u32>,
pub items: Vec<Artist>,
}Expand description
Top artists response.
Fields§
§href: Option<String>URL to the API endpoint.
limit: Option<u32>Maximum number of items.
next: Option<String>URL to the next page.
offset: Option<u32>Offset of items returned.
previous: Option<String>URL to the previous page.
total: Option<u32>Total number of items.
items: Vec<Artist>The top artists.
Trait Implementations§
Source§impl Clone for TopArtistsResponse
impl Clone for TopArtistsResponse
Source§fn clone(&self) -> TopArtistsResponse
fn clone(&self) -> TopArtistsResponse
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 TopArtistsResponse
impl Debug for TopArtistsResponse
Source§impl<'de> Deserialize<'de> for TopArtistsResponse
impl<'de> Deserialize<'de> for TopArtistsResponse
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 TopArtistsResponse
impl RefUnwindSafe for TopArtistsResponse
impl Send for TopArtistsResponse
impl Sync for TopArtistsResponse
impl Unpin for TopArtistsResponse
impl UnwindSafe for TopArtistsResponse
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