Struct toornament::Participant [] [src]

pub struct Participant {
    pub id: Option<ParticipantId>,
    pub name: String,
    pub logo: Option<ParticipantLogo>,
    pub lineup: Option<Participants>,
    pub custom_fields: Option<CustomFields>,
    pub country: Option<String>,
    pub email: Option<String>,
    pub check_in: Option<bool>,
    pub custom_fields_private: Option<CustomFields>,
}

An opponent involved in a match/tournament.

Fields

Unique identifier for this participant.

Participant name (maximum 40 characters).

Logo of the participant.

This property is only available when the participant type is "team".

List of public custom fields

Country of the participant. This property is only available when the "country" option is enabled for this tournament. This value is represented as an ISO 3166-1 alpha-2 country code.

Participant email.

Participant check-in. This property is only available when "check-in" option is enabled for this tournament.

This property is only available when the query parameter 'with_custom_fields' is true.

Methods

impl Participant
[src]

Create participant object for adding for a tournament (Toornament::create_tournament_participant)

A builder method for $field with Option type.

A builder method for $field with String type.

A builder method for $field with Option type.

A builder method for $field with Option type.

A builder method for $field with Option type.

A builder method for $field with Option type.

A builder method for $field with Option type.

A builder method for $field with Option type.

A builder method for $field with Option type.

Trait Implementations

impl Clone for Participant
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Default for Participant
[src]

Returns the "default value" for a type. Read more

impl Debug for Participant
[src]

Formats the value using the given formatter.

impl Eq for Participant
[src]

impl Ord for Participant
[src]

This method returns an Ordering between self and other. Read more

impl PartialEq for Participant
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for Participant
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more