pub struct Team {
pub score: u64,
pub consecutive_round_losses: u64,
pub timeouts_remaining: u64,
pub matches_won_this_series: u64,
pub name: Option<String>,
pub flag: Option<String>,
}Expand description
team info
Fields§
§score: u64rounds won
consecutive_round_losses: u64rounds lost in a row
timeouts_remaining: u64timeouts remaining
matches_won_this_series: u64matches won this series
name: Option<String>team name
flag: Option<String>flag code (TODO find options)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Team
impl<'de> Deserialize<'de> for Team
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
Auto Trait Implementations§
impl Freeze for Team
impl RefUnwindSafe for Team
impl Send for Team
impl Sync for Team
impl Unpin for Team
impl UnwindSafe for Team
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