[][src]Struct toornament::iter::TournamentIter

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

A remote tournament iterator

Methods

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

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

Creates new tournament iter for a tournament with id

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

Builders

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

Fetch streams

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

Set tournament id

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

Modifiers

pub fn edit<F: 'static + FnMut(Tournament) -> Tournament>(
    self,
    editor: F
) -> TournamentEditor<'a>
[src]

Tournament lazy editor

pub fn participants(self) -> ParticipantsIter<'a>[src]

Tournament participants

pub fn matches(self) -> TournamentMatchesIter<'a>[src]

Tournament matches

pub fn permissions(self) -> PermissionsIter<'a>[src]

Tournament permissions

pub fn stages(self) -> StagesIter<'a>[src]

Tournament stages

pub fn videos(self) -> VideosIter<'a>[src]

Tournament videos

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

Terminators

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

Return the tournament

pub fn delete(self) -> Result<()>[src]

Deletes the tournament

Auto Trait Implementations

impl<'a> Send for TournamentIter<'a>

impl<'a> Sync for TournamentIter<'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