[][src]Struct licoricedev::models::tournament::SwissTournament

pub struct SwissTournament {
    pub id: String,
    pub created_by: String,
    pub starts_at: DateTime<Utc>,
    pub name: String,
    pub clock: Clock,
    pub variant: String,
    pub round: u8,
    pub nb_rounds: u8,
    pub nb_players: u16,
    pub nb_ongoing: u16,
    pub status: String,
    pub quote: Option<Quote>,
    pub next_round: Option<NextRound>,
    pub great_player: Option<GreatPlayer>,
    pub rated: bool,
}

Information about swiss tournaments

Fields

id: Stringcreated_by: Stringstarts_at: DateTime<Utc>name: Stringclock: Clockvariant: Stringround: u8nb_rounds: u8nb_players: u16nb_ongoing: u16status: Stringquote: Option<Quote>next_round: Option<NextRound>great_player: Option<GreatPlayer>rated: bool

Trait Implementations

impl Clone for SwissTournament[src]

impl Debug for SwissTournament[src]

impl<'de> Deserialize<'de> for SwissTournament[src]

impl Serialize for SwissTournament[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.