Struct toornament::TournamentVideosFilter
[−]
[src]
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]
fn category<'a>(&'a mut self, category: VideoCategory) -> &'a mut Self
A builder method for $field with Option
type.
fn sort<'a>(&'a mut self, sort: CreateDateSortFilter) -> &'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 Option
type.
Trait Implementations
impl Debug for TournamentVideosFilter
[src]
impl Clone for TournamentVideosFilter
[src]
fn clone(&self) -> TournamentVideosFilter
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 TournamentVideosFilter
[src]
fn default() -> TournamentVideosFilter
Returns the "default value" for a type. Read more