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
id: Option<ParticipantId>
Unique identifier for this participant.
name: String
Participant name (maximum 40 characters).
logo: Option<ParticipantLogo>
Logo of the participant.
lineup: Option<Participants>
This property is only available when the participant type is "team".
custom_fields: Option<CustomFields>
List of public custom fields
country: Option<String>
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.
email: Option<String>
Participant email.
check_in: Option<bool>
Participant check-in. This property is only available when "check-in" option is enabled for this tournament.
custom_fields_private: Option<CustomFields>
This property is only available when the query parameter 'with_custom_fields' is true.
Trait Implementations
impl Clone for Participant
[src]
fn clone(&self) -> Participant
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Default for Participant
[src]
fn default() -> Participant
Returns the "default value" for a type. Read more
impl Debug for Participant
[src]
impl Eq for Participant
[src]
impl Ord for Participant
[src]
fn cmp(&self, __arg_0: &Participant) -> Ordering
This method returns an Ordering
between self
and other
. Read more
impl PartialEq for Participant
[src]
fn eq(&self, __arg_0: &Participant) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Participant) -> bool
This method tests for !=
.
impl PartialOrd for Participant
[src]
fn partial_cmp(&self, __arg_0: &Participant) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Participant) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Participant) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Participant) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Participant) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more