Skip to main content

schedule_hydrations

Macro schedule_hydrations 

Source
macro_rules! schedule_hydrations {
    (@ inline_structs [team: { $($inline_tt:tt)* } $(, $($tt:tt)*)?] $vis:vis struct $name:ident { $($field_tt:tt)* }) => { ... };
    (@ inline_structs [venue: { $($inline_tt:tt)* } $(, $($tt:tt)*)?] $vis:vis struct $name:ident { $($field_tt:tt)* }) => { ... };
    (@ inline_structs [$_01:ident : { $($_02:tt)* } $(, $($tt:tt)*)?] $vis:vis struct $name:ident { $($field_tt:tt)* }) => { ... };
    (@ inline_structs [$field:ident $(: $value:ty)? $(, $($tt:tt)*)?] $vis:vis struct $name:ident { $($field_tt:tt)* }) => { ... };
    (@ inline_structs [] $vis:vis struct $name:ident { $($field_tt:tt)* }) => { ... };
    (@ team) => { ... };
    (@ team $hydrations:ty) => { ... };
    (@ venue) => { ... };
    (@ venue $hydrations:ty) => { ... };
    (@ actual $vis:vis struct $name:ident {
		$(team: $team:ty ,)?
		$(venue: $venue:ty)?
	}) => { ... };
}
Expand description

Creates hydrations for a schedule

ยงSchedule Hydrations

NameType
teamteam_hydrations!
game
linescore
decisions
scoring_plays
broadcasts
radio_broadcasts
metadata
series_status
venuevenue_hydrations!
weather
game_info
officials
probable_officials
tracking_version
coaching_video
probable_pitcher
probable_pitcher(all)
probable_pitcher(note)
probable_pitcher(show_on_preview)
review
event(performers)
event(promotions)
event(timezone)
event(tickets)
event(venue)
event(designations)
event(game)
event(status)
event(sport)
event(league)
event(division)
linescore(positions)
linescore(matchup)
linescore(runners)
lineups
live_lookin
flags
alerts
previous_play
home_runs
xrefId
person
stats
game_id
story
rule_settings
abs_challenge
acs_challenge
status_flags
weather_forecast