[][src]Struct toornament::iter::DisciplinesIter

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

Disciplines iterator

Methods

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

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

Creates new disciplines iterator

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

Fetch all disciplines

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

Modifiers

pub fn with_id(self, discipline_id: DisciplineId) -> DisciplineIter<'a>[src]

Fetch a discipline with id

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

Terminators

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

Fetch the discipline

Auto Trait Implementations

impl<'a> Send for DisciplinesIter<'a>

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