[][src]Trait nhl_stats::sync::GamesApi

pub trait GamesApi {
    fn get_game(&self, id: u32) -> Result<Game, Error>;
fn get_game_boxscore(&self, id: u32) -> Result<GameBoxscores, Error>;
fn get_game_content(&self, id: u32) -> Result<GameContent, Error>;
fn get_game_diff(
        &self,
        id: u32,
        start_timecode: &str
    ) -> Result<Game, Error>; }

Required methods

fn get_game(&self, id: u32) -> Result<Game, Error>

fn get_game_boxscore(&self, id: u32) -> Result<GameBoxscores, Error>

fn get_game_content(&self, id: u32) -> Result<GameContent, Error>

fn get_game_diff(&self, id: u32, start_timecode: &str) -> Result<Game, Error>

Loading content...

Implementors

impl GamesApi for GamesApiClient[src]

Loading content...