[][src]Struct toornament::iter::DisciplineMatchesIter

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

A discipline matches iterator

Methods

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

pub fn new(
    client: &'a Toornament,
    discipline_id: DisciplineId
) -> DisciplineMatchesIter
[src]

Creates new match iterator

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

Builders

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

Fetch matches with filter

pub fn of_discipline(self, id: DisciplineId) -> Self[src]

Fetch match by discipline id

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

Terminators

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

Fetch matches

Auto Trait Implementations

impl<'a> Send for DisciplineMatchesIter<'a>

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