Struct jamendo::Action [] [src]

pub struct Action<'a, T> where T: 'a + Deserialize {
    // some fields omitted
}

Action represents the request to a resource

Methods

impl<'a, T> Action<'a, T> where T: 'a + Deserialize

fn set(self, query: Query) -> Self

fn user_id(self, v: u32) -> Self

fn offset(self, v: u32) -> Self

fn limit(self, v: u32) -> Self

fn album_id(self, v: u32) -> Self

fn artist_id(self, v: u32) -> Self

fn track_id(self, v: u32) -> Self

fn album_name(self, v: &str) -> Self

fn artist_name(self, v: &str) -> Self

fn track_name(self, v: &str) -> Self

fn featured(self, v: bool) -> Self

fn run(self) -> Result<Vec<T>, Error>

fn unwrap(self) -> Vec<T>