Struct ball_dont_lie::stats::StatsQueryParams [−][src]
pub struct StatsQueryParams { pub page: u32, pub per_page: u32, pub dates: Vec<String>, pub seasons: Vec<u32>, pub player_ids: Vec<u32>, pub game_ids: Vec<u32>, pub postseason: Option<bool>, pub start_date: Option<String>, pub end_date: Option<String>, }
Expand description
Query Params for stats api request.
Fields
page: u32
Page number for pagiantion.
per_page: u32
Number of values per page. Max 100.
dates: Vec<String>
List of dates for filtering.
seasons: Vec<u32>
List of seasons for filtering.
player_ids: Vec<u32>
List of player ids for filtering.
game_ids: Vec<u32>
List of game ids for filtering.
postseason: Option<bool>
Boolean value indicating if postseason games should be included.
start_date: Option<String>
Start date for range of games.
end_date: Option<String>
End date for range of games.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for StatsQueryParams
impl Send for StatsQueryParams
impl Sync for StatsQueryParams
impl Unpin for StatsQueryParams
impl UnwindSafe for StatsQueryParams