[][src]Struct toornament::TournamentVideosFilter

pub struct TournamentVideosFilter {
    pub category: Option<VideoCategory>,
    pub sort: CreateDateSortFilter,
    pub page: Option<i64>,
}

A filter for tournament videos

Fields

category: Option<VideoCategory>

Category of the videos.

sort: CreateDateSortFilter

Sorts the collection in a particular order. CreatedAscending sorts the videos from older to newer; CreatedDescending sorts the videos from newer to older.

page: Option<i64>

Page requested of the list.

Methods

impl TournamentVideosFilter[src]

pub fn category(self, category: VideoCategory) -> Self[src]

A builder method for $field with Option type.

pub fn sort(self, sort: CreateDateSortFilter) -> 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 Option type.

Trait Implementations

impl Clone for TournamentVideosFilter[src]

impl Debug for TournamentVideosFilter[src]

impl Default for TournamentVideosFilter[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.