[][src]Trait nhl_stats::async::DraftApi

pub trait DraftApi {
    fn get_draft(&self) -> Box<dyn Future<Item = Draft, Error = Error<Value>>>;
fn get_draft_by_year(
        &self,
        year: f32
    ) -> Box<dyn Future<Item = Draft, Error = Error<Value>>>;
fn get_draft_prospect(
        &self,
        id: u32
    ) -> Box<dyn Future<Item = DraftProspects, Error = Error<Value>>>;
fn get_draft_prospects(
        &self
    ) -> Box<dyn Future<Item = DraftProspects, Error = Error<Value>>>; }

Required methods

fn get_draft(&self) -> Box<dyn Future<Item = Draft, Error = Error<Value>>>

fn get_draft_by_year(
    &self,
    year: f32
) -> Box<dyn Future<Item = Draft, Error = Error<Value>>>

fn get_draft_prospect(
    &self,
    id: u32
) -> Box<dyn Future<Item = DraftProspects, Error = Error<Value>>>

fn get_draft_prospects(
    &self
) -> Box<dyn Future<Item = DraftProspects, Error = Error<Value>>>

Loading content...

Implementors

impl<C: Connect> DraftApi for DraftApiClient<C>[src]

Loading content...