[][src]Struct toornament::iter::TournamentsIter

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

A remote iterator over tournaments

Methods

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

pub fn new(client: &'a Toornament) -> TournamentsIter[src]

Creates new tournaments iterator

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

Builders

pub fn with_name<S: Into<String>>(self, name: S) -> Self[src]

Fetch a tournament with the following name

pub fn my(self) -> Self[src]

Fetch all my tournaments

pub fn all(self) -> Self[src]

Fetch all the tournaments

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

Fetch with the streams

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

Modifiers

pub fn with_id(self, id: TournamentId) -> TournamentIter<'a>[src]

Fetch a tournament with the following id

pub fn create<F: 'static + FnMut() -> Tournament>(
    self,
    creator: F
) -> TournamentCreator<'a>
[src]

Create a tournament

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

Terminators

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

Return the collection

Trait Implementations

impl<'a> Debug for TournamentsIter<'a>[src]

Auto Trait Implementations

impl<'a> Send for TournamentsIter<'a>

impl<'a> Sync for TournamentsIter<'a>

Blanket Implementations

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

impl<T> From<T> for 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.

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

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

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

impl<T> Erased for T

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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