usestd::marker::PhantomData;usecrate::data::MatchPage;usecrate::Request;/// Builds a [`Request`] object to fetch the [`MatchPage`] of a given match.
/// The ID of a match is the number you can find in the HLTV URL which should
/// look like `hltv.com/matches/{id}/...`
pubfnget_match(id:u32)->Request<MatchPage>{
Request{// Interesting: currently you can put any string after the last slash. It doesn't
// need to contain the team or event names.
url:format!("https://www.hltv.org/matches/{}/xyz", id),
_m: PhantomData
}}