pub struct StartRace {
Show 19 fields pub goal: String, pub goal_is_custom: bool, pub team_race: bool, pub invitational: bool, pub unlisted: bool, pub info_user: String, pub info_bot: String, pub require_even_teams: bool, pub start_delay: u8, pub time_limit: u8, pub time_limit_auto_complete: bool, pub streaming_required: Option<bool>, pub auto_start: bool, pub allow_comments: bool, pub hide_comments: bool, pub allow_prerace_chat: bool, pub allow_midrace_chat: bool, pub allow_non_entrant_chat: bool, pub chat_message_delay: u8,
}

Fields

goal: Stringgoal_is_custom: boolteam_race: boolinvitational: boolunlisted: boolinfo_user: Stringinfo_bot: Stringrequire_even_teams: boolstart_delay: u8

Number of seconds the countdown should run for. Must be in 10..=60.

time_limit: u8

Maximum number of hours the race is allowed to run for. Must be in 1..=72.

time_limit_auto_complete: boolstreaming_required: Option<bool>auto_start: boolallow_comments: boolhide_comments: boolallow_prerace_chat: boolallow_midrace_chat: boolallow_non_entrant_chat: boolchat_message_delay: u8

Number of seconds to hold a message for before displaying it. Doesn’t affect race monitors or moderators. Must be in 0..=90.

Implementations

Creates a race room with the specified configuration and returns its slug.

An access token can be obtained using authorize.

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

Returns the argument unchanged.

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

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Should always be Self

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more