pub struct ScrobbleResponse {
pub artist: CorrectableString,
pub album: CorrectableString,
pub album_artist: CorrectableString,
pub track: CorrectableString,
pub timestamp: String,
}Expand description
Response to a Scrobble request
Represents a response to a Scrobble API request. Contains the results of the Scrobble call, including any metadata corrections the Last.fm API made to the arist/track/album submitted.
Fields§
§artist: CorrectableString§album: CorrectableString§album_artist: CorrectableString§track: CorrectableString§timestamp: StringTrait Implementations§
Source§impl Debug for ScrobbleResponse
impl Debug for ScrobbleResponse
Source§impl<'de> Deserialize<'de> for ScrobbleResponse
impl<'de> Deserialize<'de> for ScrobbleResponse
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 Extend<ScrobbleResponse> for ScrobbleList
impl Extend<ScrobbleResponse> for ScrobbleList
Source§fn extend<T: IntoIterator<Item = ScrobbleResponse>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = ScrobbleResponse>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
Source§fn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬This is a nightly-only experimental API. (
extend_one)Extends a collection with exactly one element.
Source§fn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬This is a nightly-only experimental API. (
extend_one)Reserves capacity in a collection for the given number of additional elements. Read more
Source§impl FromIterator<ScrobbleResponse> for ScrobbleList
impl FromIterator<ScrobbleResponse> for ScrobbleList
Source§fn from_iter<I: IntoIterator<Item = ScrobbleResponse>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = ScrobbleResponse>>(iter: I) -> Self
Creates a value from an iterator. Read more
Auto Trait Implementations§
impl Freeze for ScrobbleResponse
impl RefUnwindSafe for ScrobbleResponse
impl Send for ScrobbleResponse
impl Sync for ScrobbleResponse
impl Unpin for ScrobbleResponse
impl UnwindSafe for ScrobbleResponse
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