[][src]Macro lastfm_parse_rs::lastfm_t

macro_rules! lastfm_t {
    (
        $name:ident, $data_t:ident, $wrapper_name:ident,
        $params_t:ident, $params_variant:ident,
        [$($param_key:ident: $param_t:ty),*]
    ) => { ... };
}

This macro is used to define top-level requestable Lastfm data structure. For given Deserialize + Debug struct specifies a wrapper (see LastfmType trait), conversions and request() function with API method agruments. Following should be included in order to use this macro:

use std::convert::Into;