[−][src]Struct toornament::iter::ParticipantsIter
A remote participants iterator
Methods
impl<'a> ParticipantsIter<'a>
[src]
pub fn new(
client: &'a Toornament,
tournament_id: TournamentId
) -> ParticipantsIter
[src]
client: &'a Toornament,
tournament_id: TournamentId
) -> ParticipantsIter
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]
self,
editor: F
) -> ParticipantsEditor<'a>
Update the list of participants
pub fn create<F: 'static + FnMut() -> Participant>(
self,
creator: F
) -> ParticipantCreator<'a>
[src]
self,
creator: F
) -> ParticipantCreator<'a>
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]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Erased for T
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,