pub struct TeamSimple {
pub key: String,
pub team_number: i32,
pub nickname: Option<String>,
pub name: String,
pub city: Option<String>,
pub state_prov: Option<String>,
pub country: Option<String>,
}
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.
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.
Implementations§
Source§impl TeamSimple
impl TeamSimple
Trait Implementations§
Source§impl Clone for TeamSimple
impl Clone for TeamSimple
Source§fn clone(&self) -> TeamSimple
fn clone(&self) -> TeamSimple
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TeamSimple
impl Debug for TeamSimple
Source§impl Default for TeamSimple
impl Default for TeamSimple
Source§fn default() -> TeamSimple
fn default() -> TeamSimple
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TeamSimple
impl<'de> Deserialize<'de> for TeamSimple
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
Source§impl PartialEq for TeamSimple
impl PartialEq for TeamSimple
Source§impl Serialize for TeamSimple
impl Serialize for TeamSimple
impl StructuralPartialEq for TeamSimple
Auto Trait Implementations§
impl Freeze for TeamSimple
impl RefUnwindSafe for TeamSimple
impl Send for TeamSimple
impl Sync for TeamSimple
impl Unpin for TeamSimple
impl UnwindSafe for TeamSimple
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