[][src]Struct toornament::iter::ParticipantsIter

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

A remote participants iterator

Methods

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

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

Create new participants iter

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

Builders

pub fn with_filter(self, filter: TournamentParticipantsFilter) -> Self[src]

Filter participants

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

Fetch participant of tournament with id

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

Modifiers

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

Fetch participant with id

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

Update the list of participants

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

Create a participant

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

Terminators

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

Collects the participants

Auto Trait Implementations

impl<'a> Send for ParticipantsIter<'a>

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