Struct spotify_lyrics::SpotifyLyrics
source · pub struct SpotifyLyrics { /* private fields */ }Implementations§
source§impl SpotifyLyrics
impl SpotifyLyrics
Manually supply your own cookie
sourcepub fn from_browser(browser: Browser) -> Result<Self>
pub fn from_browser(browser: Browser) -> Result<Self>
Try to get the cookie from the users web browser
pub async fn get_color_lyrics(&mut self, track_id: &str) -> Result<ColorLyrics>
Trait Implementations§
source§impl Debug for SpotifyLyrics
impl Debug for SpotifyLyrics
source§impl Default for SpotifyLyrics
impl Default for SpotifyLyrics
source§fn default() -> SpotifyLyrics
fn default() -> SpotifyLyrics
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for SpotifyLyrics
impl Send for SpotifyLyrics
impl Sync for SpotifyLyrics
impl Unpin for SpotifyLyrics
impl !UnwindSafe for SpotifyLyrics
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> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.