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
sourceimpl<'de> Deserialize<'de> for Match
impl<'de> Deserialize<'de> for Match
sourcefn 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 RefUnwindSafe for Match
impl Send for Match
impl Sync for Match
impl Unpin for Match
impl UnwindSafe for Match
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more