Struct derbyjson::Team
[−]
[src]
pub struct Team { pub name: String, pub league: Option<String>, pub abbreviation: Option<String>, pub persons: Vec<Person>, pub level: Option<TeamLevel>, pub date: Option<String>, pub color: Option<String>, pub logo: Option<Logo>, }
Information on a team (collection of skaters or officials)
Fields
name: String
The name of the team. Required to be unique within the league. This can be the empty string for a team that is the only member of its league.
league: Option<String>
The name of the team's league.
abbreviation: Option<String>
persons: Vec<Person>
An array of skaters (or refs) on the team.
level: Option<TeamLevel>
Team's level
date: Option<String>
Date as of which this roster is current.
color: Option<String>
Team color. The DerbyJSON spec
logo: Option<Logo>