[][src]Struct toornament::iter::GamesIter

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

A match games iterator

Methods

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

pub fn new(
    client: &'a Toornament,
    tournament_id: TournamentId,
    match_id: MatchId
) -> GamesIter<'a>
[src]

Creates new games iterator

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

Builders

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

Fetch games with stats

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

Modifiers

pub fn with_number(self, number: GameNumber) -> GameIter<'a>[src]

Fetch game with a number

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

Terminators

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

Fetch the games

Auto Trait Implementations

impl<'a> !RefUnwindSafe for GamesIter<'a>

impl<'a> Send for GamesIter<'a>

impl<'a> Sync for GamesIter<'a>

impl<'a> Unpin for GamesIter<'a>

impl<'a> !UnwindSafe for GamesIter<'a>

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.