Struct challonge::tournament::Tournament[][src]

pub struct Tournament {
Show 44 fields pub accept_attachments: bool, pub allow_participant_match_reporting: bool, pub anonymous_voting: bool, pub created_at: DateTime<FixedOffset>, pub created_by_api: bool, pub credit_capped: bool, pub description: String, pub game_id: u64, pub group_stages_enabled: bool, pub hide_forum: bool, pub hide_seeds: bool, pub hold_third_place_match: bool, pub id: TournamentId, pub max_predictions_per_user: u64, pub name: String, pub notify_users_when_matches_open: bool, pub notify_users_when_the_tournament_ends: bool, pub open_signup: bool, pub participants_count: u64, pub prediction_method: u64, pub private: bool, pub progress_meter: u64, pub swiss_points: GamePoints, pub quick_advance: bool, pub require_score_agreement: bool, pub round_robin_points: GamePoints, pub sequential_pairings: bool, pub show_rounds: bool, pub started_at: Option<DateTime<FixedOffset>>, pub swiss_rounds: u64, pub teams: bool, pub tournament_type: TournamentType, pub updated_at: DateTime<FixedOffset>, pub url: String, pub description_source: String, pub full_challonge_url: String, pub live_image_url: String, pub review_before_finalizing: bool, pub accepting_predictions: bool, pub participants_locked: bool, pub game_name: String, pub participants_swappable: bool, pub team_convertable: bool, pub group_stages_were_started: bool,
}
Expand description

Challonge Tournament definition.

Fields

accept_attachments: bool

Tournament may have attachments

allow_participant_match_reporting: bool

Participants are able to report stats of the match by themselves

anonymous_voting: bool

Tournament supports anonymous voting

created_at: DateTime<FixedOffset>

Time when the tournament was created

created_by_api: bool

true if created by the API

credit_capped: bool

???

description: String

Description of the tournament

game_id: u64

An id of the game the tournament belongs to

group_stages_enabled: bool

Tournament has group stages enabled

hide_forum: bool

Hide forums from users

hide_seeds: bool

Hide seeds from users

hold_third_place_match: bool

???

id: TournamentId

Unique tournament identifier in challonge system

max_predictions_per_user: u64

Maximum number of predictions for each user

name: String

Name of the tournament

notify_users_when_matches_open: bool

Should challonge system notify registered users when the matches available

notify_users_when_the_tournament_ends: bool

Should challonge system notify registered users when the tournament has come to end

open_signup: bool

Are signups open

participants_count: u64

Number of participants of the tournament

prediction_method: u64

???

private: bool

???

progress_meter: u64

???

swiss_points: GamePoints

A points for matches/games in swiss system

quick_advance: bool

???

require_score_agreement: bool

Tournament will require score agreement from all of participants of the match

round_robin_points: GamePoints

A points for matches/games in round robin system

sequential_pairings: bool

???

show_rounds: bool

Show rounds on the web page

started_at: Option<DateTime<FixedOffset>>

Time when the tournament was started

swiss_rounds: u64

Number of rounds in swiss system

teams: bool

The tournament works with teams

tournament_type: TournamentType

A type of the tournament

updated_at: DateTime<FixedOffset>

Time when the tournament was updated last time

url: String

Tournament url

description_source: String

???

full_challonge_url: String

Full url to the web page of the tournament in challonge system

live_image_url: String

A url of LIVE image.

review_before_finalizing: bool

Tournament must be reviewed before finalizing.

accepting_predictions: bool

Tournament accepts predictions

participants_locked: bool

Participants are locked: can’t be added or removed

game_name: String

Name of the game the tournament belongs to.

participants_swappable: bool

Participants can be swapped in brackets

team_convertable: bool

???

group_stages_were_started: bool

Are the group stages were started already

Implementations

Decodes Tournament from JSON.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.