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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more