[][src]Struct toornament::iter::TournamentMatchesIter

pub struct TournamentMatchesIter<'a> { /* fields omitted */ }

A tournament matches iterator

Methods

impl<'a> TournamentMatchesIter<'a>[src]

pub fn new(
    client: &'a Toornament,
    tournament_id: TournamentId
) -> TournamentMatchesIter
[src]

Creates new match iterator

impl<'a> TournamentMatchesIter<'a>[src]

Builders

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

Fetch match games

pub fn of_tournament(self, id: TournamentId) -> Self[src]

Fetch match by tournament id

impl<'a> TournamentMatchesIter<'a>[src]

Modifiers

pub fn with_id(self, match_id: MatchId) -> TournamentMatchIter<'a>[src]

Get a match with id

impl<'a> TournamentMatchesIter<'a>[src]

Terminators

pub fn collect<T: From<Matches>>(self) -> Result<T>[src]

Fetch matches

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, 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.