[][src]Struct board_em_api::WebClient

pub struct WebClient { /* fields omitted */ }

Implementations

impl WebClient[src]

pub fn from_hostname(hostname: String) -> WebClient[src]

pub fn get_latest_web_game(
    &self,
    game_id: &String
) -> Result<WebGame, Box<dyn Error>>
[src]

pub fn submit_move(
    &self,
    web_game: &WebGame,
    next_move: &String
) -> Result<Response, Error>
[src]

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.