pub struct ArtistPage {
pub artists: Vec<Artist>,
pub page_number: u32,
pub has_next_page: bool,
pub total_pages: Option<u32>,
}Expand description
Represents a paginated collection of artists.
This structure is returned by artist listing methods and provides information about the current page and pagination state.
Fields§
§artists: Vec<Artist>The artists on this page
page_number: u32Current page number (1-indexed)
has_next_page: boolWhether there are more pages available
total_pages: Option<u32>Total number of pages, if known
This may be None if the total page count cannot be determined
from the Last.fm response.
Trait Implementations§
Source§impl Clone for ArtistPage
impl Clone for ArtistPage
Source§fn clone(&self) -> ArtistPage
fn clone(&self) -> ArtistPage
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 ArtistPage
impl Debug for ArtistPage
Source§impl<'de> Deserialize<'de> for ArtistPage
impl<'de> Deserialize<'de> for ArtistPage
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
Source§impl PartialEq for ArtistPage
impl PartialEq for ArtistPage
Source§impl Serialize for ArtistPage
impl Serialize for ArtistPage
impl Eq for ArtistPage
impl StructuralPartialEq for ArtistPage
Auto Trait Implementations§
impl Freeze for ArtistPage
impl RefUnwindSafe for ArtistPage
impl Send for ArtistPage
impl Sync for ArtistPage
impl Unpin for ArtistPage
impl UnwindSafe for ArtistPage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.