Struct chesscom::ChessApi[][src]

pub struct ChessApi { /* fields omitted */ }

Implementations

impl ChessApi[src]

pub fn new() -> ChessApi[src]

pub async fn get_profile(&self, username: &str) -> Result<Profile>[src]

pub async fn is_user_online(&self, username: &str) -> Result<bool>[src]

pub async fn get_titled_profiles(&self, title: Title) -> Result<Vec<String>>[src]

pub async fn get_user_stats(&self, username: &str) -> Result<PlayerStats>[src]

Auto Trait Implementations

impl !RefUnwindSafe for ChessApi

impl Send for ChessApi

impl Sync for ChessApi

impl Unpin for ChessApi

impl !UnwindSafe for ChessApi

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> Instrument for T[src]

impl<T> Instrument 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.