[][src]Trait lastfm_parse_rs::structs::common::Underlying

pub trait Underlying<'de> {
    type Struct: Deserialize<'de>;
    type Arr: Deserialize<'de>;
    fn from_arr(t: Self::Arr) -> Self;
fn from_val(t: Self::Struct) -> Self; }

Associated Types

type Struct: Deserialize<'de>

type Arr: Deserialize<'de>

Loading content...

Required methods

fn from_arr(t: Self::Arr) -> Self

fn from_val(t: Self::Struct) -> Self

Loading content...

Implementors

impl<'de, T: Deserialize<'de>> Underlying<'de> for VecOrStruct<'de, T>[src]

type Struct = T

type Arr = Vec<T>

Loading content...