Struct toornament::TournamentParticipantsFilter
[−]
[src]
pub struct TournamentParticipantsFilter { pub with_lineup: bool, pub with_custom_fields: bool, pub sort: DateSortFilter, pub page: i64, }
A filter for tournament participants
Fields
with_lineup: bool
When set to true
, it will include the lineup of the team (works only if the participant
is a team).
with_custom_fields: bool
When set to true
, it will include the list of custom fields for this participant.
sort: DateSortFilter
Sorts the collection in a particular order. DateAscending
sort matches from oldest to
newest and DateDescending
sort matches from newest to oldest.
page: i64
Page requested of the list.
Methods
impl TournamentParticipantsFilter
[src]
fn with_lineup<'a>(&'a mut self, with_lineup: bool) -> &'a mut Self
A builder method for $field with $field_type
type.
fn sort<'a>(&'a mut self, sort: DateSortFilter) -> &'a mut Self
A builder method for $field with $field_type
type.
fn with_custom_fields<'a>(
&'a mut self,
with_custom_fields: bool
) -> &'a mut Self
&'a mut self,
with_custom_fields: bool
) -> &'a mut Self
A builder method for $field with $field_type
type.
fn page<'a>(&'a mut self, page: i64) -> &'a mut Self
A builder method for $field with $field_type
type.
Trait Implementations
impl Debug for TournamentParticipantsFilter
[src]
impl Clone for TournamentParticipantsFilter
[src]
fn clone(&self) -> TournamentParticipantsFilter
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 TournamentParticipantsFilter
[src]
fn default() -> TournamentParticipantsFilter
Returns the "default value" for a type. Read more