[][src]Enum lastfm_parse_rs::structs::track::Params

pub enum Params<'pr> {
    AddTags {
        artist: &'pr str,
        track: &'pr str,
        tags: &'pr str,
    },
    GetCorrection {
        artist: &'pr str,
        track: &'pr str,
    },
    GetInfo {
        artist: &'pr str,
        track: &'pr str,
        mbid: Option<&'pr str>,
        autocorrect: Option<u32>,
        username: Option<&'pr str>,
    },
    GetSimilar {
        artist: &'pr str,
        track: &'pr str,
        mbid: Option<&'pr str>,
        autocorrect: Option<u32>,
        limit: Option<u32>,
    },
    GetTags {
        artist: &'pr str,
        track: &'pr str,
        mbid: Option<&'pr str>,
        autocorrect: Option<u32>,
        user: Option<&'pr str>,
    },
    GetTopTags {
        artist: &'pr str,
        track: &'pr str,
        mbid: Option<&'pr str>,
        autocorrect: Option<u32>,
    },
    Love {
        artist: &'pr str,
        track: &'pr str,
    },
    RemoveTag {
        artist: &'pr str,
        track: &'pr str,
        tag: &'pr str,
    },
    Scrobble {
        batch: &'pr ScrobbleBatch,
    },
    Search {
        artist: &'pr str,
        track: &'pr str,
        limit: Option<u32>,
        page: Option<u32>,
    },
    Unlove {
        artist: &'pr str,
        track: &'pr str,
    },
    UpdateNowPlaying {
        artist: &'pr str,
        track: &'pr str,
        album: Option<&'pr str>,
        trackNumber: Option<u32>,
        context: Option<&'pr str>,
        mbid: Option<&'pr str>,
        duration: Option<u32>,
        albumArtist: Option<&'pr str>,
    },
}

Variants

AddTags

Fields of AddTags

artist: &'pr strtrack: &'pr strtags: &'pr str
GetCorrection

Fields of GetCorrection

artist: &'pr strtrack: &'pr str
GetInfo

Fields of GetInfo

artist: &'pr strtrack: &'pr strmbid: Option<&'pr str>autocorrect: Option<u32>username: Option<&'pr str>
GetSimilar

Fields of GetSimilar

artist: &'pr strtrack: &'pr strmbid: Option<&'pr str>autocorrect: Option<u32>limit: Option<u32>
GetTags

Fields of GetTags

artist: &'pr strtrack: &'pr strmbid: Option<&'pr str>autocorrect: Option<u32>user: Option<&'pr str>
GetTopTags

Fields of GetTopTags

artist: &'pr strtrack: &'pr strmbid: Option<&'pr str>autocorrect: Option<u32>
Love

Fields of Love

artist: &'pr strtrack: &'pr str
RemoveTag

Fields of RemoveTag

artist: &'pr strtrack: &'pr strtag: &'pr str
Scrobble

Fields of Scrobble

batch: &'pr ScrobbleBatch
Search

Fields of Search

artist: &'pr strtrack: &'pr strlimit: Option<u32>page: Option<u32>
Unlove

Fields of Unlove

artist: &'pr strtrack: &'pr str
UpdateNowPlaying

Fields of UpdateNowPlaying

artist: &'pr strtrack: &'pr stralbum: Option<&'pr str>trackNumber: Option<u32>context: Option<&'pr str>mbid: Option<&'pr str>duration: Option<u32>albumArtist: Option<&'pr str>

Trait Implementations

impl<'pr> Debug for Params<'pr>[src]

impl<'pr> RequestParams for Params<'pr>[src]

Auto Trait Implementations

impl<'pr> RefUnwindSafe for Params<'pr>

impl<'pr> Send for Params<'pr>

impl<'pr> Sync for Params<'pr>

impl<'pr> Unpin for Params<'pr>

impl<'pr> UnwindSafe for Params<'pr>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.