pub struct ArenaTournament {Show 27 fields
pub id: String,
pub created_by: String,
pub system: String,
pub minutes: u32,
pub clock: ArenaClock,
pub rated: bool,
pub full_name: String,
pub nb_players: u32,
pub variant: Variant,
pub starts_at: i64,
pub finishes_at: i64,
pub status: ArenaStatus,
pub perf: ArenaPerf,
pub seconds_to_start: Option<i32>,
pub has_max_rating: Option<bool>,
pub max_rating: Option<ArenaRatingObj>,
pub min_rating: Option<ArenaRatingObj>,
pub min_rated_games: Option<ArenaMinRatedGames>,
pub bots_allowed: Option<bool>,
pub min_account_age_in_days: Option<i32>,
pub only_titled: Option<bool>,
pub team_member: Option<String>,
pub private: Option<bool>,
pub position: Option<ArenaPosition>,
pub schedule: Option<ArenaSchedule>,
pub team_battle: Option<ArenaTeamBattle>,
pub winner: Option<LightUser>,
}Fields§
§id: String§created_by: String§system: String§minutes: u32§clock: ArenaClock§rated: bool§full_name: String§nb_players: u32§variant: Variant§starts_at: i64§finishes_at: i64§status: ArenaStatus§perf: ArenaPerf§seconds_to_start: Option<i32>§has_max_rating: Option<bool>§max_rating: Option<ArenaRatingObj>§min_rating: Option<ArenaRatingObj>§min_rated_games: Option<ArenaMinRatedGames>§bots_allowed: Option<bool>§min_account_age_in_days: Option<i32>§only_titled: Option<bool>§team_member: Option<String>§private: Option<bool>§position: Option<ArenaPosition>§schedule: Option<ArenaSchedule>§team_battle: Option<ArenaTeamBattle>§winner: Option<LightUser>Trait Implementations§
Source§impl Clone for ArenaTournament
impl Clone for ArenaTournament
Source§fn clone(&self) -> ArenaTournament
fn clone(&self) -> ArenaTournament
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArenaTournament
impl Debug for ArenaTournament
Source§impl<'de> Deserialize<'de> for ArenaTournament
impl<'de> Deserialize<'de> for ArenaTournament
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 ArenaTournament
impl RefUnwindSafe for ArenaTournament
impl Send for ArenaTournament
impl Sync for ArenaTournament
impl Unpin for ArenaTournament
impl UnsafeUnpin for ArenaTournament
impl UnwindSafe for ArenaTournament
Blanket Implementations§
impl<B> BodyBounds for Bwhere
B: Serialize,
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