pub struct Match {
pub id: String,
pub start_time: DateTime<Utc>,
pub end_time: DateTime<Utc>,
pub scores: HashMap<String, u64>,
pub worlds: HashMap<String, u64>,
pub all_worlds: HashMap<String, Vec<u64>>,
pub deaths: HashMap<String, u64>,
pub kills: HashMap<String, u64>,
pub victory_points: HashMap<String, u64>,
pub skirmishes: Vec<Skirmish>,
pub maps: Vec<Map>,
}
Expand description
Details about a WvW match
Fields§
§id: String
Id of the match. NA matches have an id
starting with 1
, EU matches have an id
starting with 2
. The second number indicates the tier of match. Matches are sorted after
their tier, but not NA/EU matches.
start_time: DateTime<Utc>
The starting time of the match.
end_time: DateTime<Utc>
The ending time of the match.
scores: HashMap<String, u64>
The total (sum) scores of all sides. The keys always include red
, green
and blue
.
worlds: HashMap<String, u64>
The hosting worlds of all sides.
all_worlds: HashMap<String, Vec<u64>>
All worlds of all sides.
deaths: HashMap<String, u64>
The total deaths of all sides.
kills: HashMap<String, u64>
The total kills of all sides.
victory_points: HashMap<String, u64>
The total victory points of all sides.
skirmishes: Vec<Skirmish>
Detailed skirmish information (2 hours)
maps: Vec<Map>
Map information
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Match
impl<'de> Deserialize<'de> for Match
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for Match
impl RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more