Function discography

Source
pub fn discography(response: &Json) -> (Vec<KnownRelease>, usize)
Expand description

One page of an artist’s discography, and how many there are in all.

The total comes back as release-group-count and is what tells the caller whether to ask for another page. Absent, it is taken to be what arrived: stopping is the safe reading, since paging forever on a field that was never there would be a request per second with no end.