[][src]Struct toornament::TournamentParticipantsFilter

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]

pub fn with_lineup(self, with_lineup: bool) -> Self[src]

A builder method for $field with $field_type type.

pub fn sort(self, sort: DateSortFilter) -> Self[src]

A builder method for $field with $field_type type.

pub fn with_custom_fields(self, with_custom_fields: bool) -> Self[src]

A builder method for $field with $field_type type.

pub fn page(self, page: i64) -> Self[src]

A builder method for $field with $field_type type.

Trait Implementations

impl Clone for TournamentParticipantsFilter[src]

impl Debug for TournamentParticipantsFilter[src]

impl Default for TournamentParticipantsFilter[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.