pub struct Team {Show 19 fields
pub key: String,
pub team_number: i32,
pub nickname: Option<String>,
pub name: String,
pub school_name: Option<String>,
pub city: Option<String>,
pub state_prov: Option<String>,
pub country: Option<String>,
pub address: Option<String>,
pub postal_code: Option<String>,
pub gmaps_place_id: Option<String>,
pub gmaps_url: Option<String>,
pub lat: Option<f64>,
pub lng: Option<f64>,
pub location_name: Option<String>,
pub website: Option<String>,
pub rookie_year: Option<i32>,
pub motto: Option<String>,
pub home_championship: Option<Value>,
}
Fields§
§key: String
TBA team key with the format frcXXXX
with XXXX
representing the team number.
team_number: i32
Official team number issued by FIRST.
nickname: Option<String>
Team nickname provided by FIRST.
name: String
Official long name registered with FIRST.
school_name: Option<String>
Name of team school or affilited group registered with FIRST.
city: Option<String>
City of team derived from parsing the address registered with FIRST.
state_prov: Option<String>
State of team derived from parsing the address registered with FIRST.
country: Option<String>
Country of team derived from parsing the address registered with FIRST.
address: Option<String>
Will be NULL, for future development.
postal_code: Option<String>
Postal code from the team address.
gmaps_place_id: Option<String>
Will be NULL, for future development.
gmaps_url: Option<String>
Will be NULL, for future development.
lat: Option<f64>
Will be NULL, for future development.
lng: Option<f64>
Will be NULL, for future development.
location_name: Option<String>
Will be NULL, for future development.
website: Option<String>
Official website associated with the team.
rookie_year: Option<i32>
First year the team officially competed.
motto: Option<String>
Team’s motto as provided by FIRST. This field is deprecated and will return null - will be removed at end-of-season in 2019.
home_championship: Option<Value>
Location of the team’s home championship each year as a key-value pair. The year (as a string) is the key, and the city is the value.