[][src]Struct codeforces::ContestRankingsBuilder

pub struct ContestRankingsBuilder { /* fields omitted */ }

Build a contest ranking request.

Implementations

impl ContestRankingsBuilder[src]

pub fn limit(&mut self, from: u64, count: u64) -> &mut Self[src]

Put a limit on the number of records returned.

pub fn handles(&mut self, handles: Vec<String>) -> &mut Self[src]

Set a list of handles.

pub fn room(&mut self, room: u64) -> &mut Self[src]

Set a specific room.

pub fn allow_unofficial(&mut self, value: bool) -> &mut Self[src]

Allow unofficial contestants.

Trait Implementations

impl Debug for ContestRankingsBuilder[src]

impl Default for ContestRankingsBuilder[src]

impl From<ContestRankingsBuilder> for Vec<(&'static str, String)>[src]

Consumes self and return a query list.

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.