pub struct SwissTournament {Show 15 fields
pub id: String,
pub created_by: String,
pub starts_at: String,
pub name: String,
pub clock: SwissClock,
pub variant: VariantKey,
pub round: i32,
pub nb_rounds: i32,
pub nb_players: i32,
pub nb_ongoing: i32,
pub status: SwissStatus,
pub stats: Option<SwissStats>,
pub rated: bool,
pub verdicts: Verdicts,
pub next_round: Option<SwissNextRound>,
}Fields§
§id: String§created_by: String§starts_at: String§name: String§clock: SwissClock§variant: VariantKey§round: i32§nb_rounds: i32§nb_players: i32§nb_ongoing: i32§status: SwissStatus§stats: Option<SwissStats>§rated: bool§verdicts: Verdicts§next_round: Option<SwissNextRound>Trait Implementations§
Source§impl Clone for SwissTournament
impl Clone for SwissTournament
Source§fn clone(&self) -> SwissTournament
fn clone(&self) -> SwissTournament
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 SwissTournament
impl Debug for SwissTournament
Source§impl<'de> Deserialize<'de> for SwissTournament
impl<'de> Deserialize<'de> for SwissTournament
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 SwissTournament
impl RefUnwindSafe for SwissTournament
impl Send for SwissTournament
impl Sync for SwissTournament
impl Unpin for SwissTournament
impl UnsafeUnpin for SwissTournament
impl UnwindSafe for SwissTournament
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