pub struct LyricsResult {
pub artist: String,
pub title: String,
pub lyrics: Option<String>,
pub song_id: Option<i64>,
pub media: Option<String>,
pub full_title: Option<String>,
pub artist_id: Option<i64>,
pub song_link: Option<String>,
pub extras: HashMap<String, Value>,
}Expand description
One result from findLyrics.
Fields§
§artist: StringArtist name.
title: StringSong title.
lyrics: Option<String>Lyrics text, if AudD has them indexed.
song_id: Option<i64>Internal song identifier.
media: Option<String>Embed/media URL when available.
full_title: Option<String>Server-rendered “Artist – Title” string.
artist_id: Option<i64>Internal artist identifier.
song_link: Option<String>AudD-hosted song-link.
extras: HashMap<String, Value>Forward-compat.
Trait Implementations§
Source§impl Clone for LyricsResult
impl Clone for LyricsResult
Source§fn clone(&self) -> LyricsResult
fn clone(&self) -> LyricsResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LyricsResult
impl Debug for LyricsResult
Source§impl Default for LyricsResult
impl Default for LyricsResult
Source§fn default() -> LyricsResult
fn default() -> LyricsResult
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LyricsResult
impl<'de> Deserialize<'de> for LyricsResult
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 LyricsResult
impl PartialEq for LyricsResult
Source§fn eq(&self, other: &LyricsResult) -> bool
fn eq(&self, other: &LyricsResult) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LyricsResult
impl Serialize for LyricsResult
impl StructuralPartialEq for LyricsResult
Auto Trait Implementations§
impl Freeze for LyricsResult
impl RefUnwindSafe for LyricsResult
impl Send for LyricsResult
impl Sync for LyricsResult
impl Unpin for LyricsResult
impl UnsafeUnpin for LyricsResult
impl UnwindSafe for LyricsResult
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