Struct modio::Modio[][src]

pub struct Modio<C> where
    C: Clone + Connect + 'static, 
{ /* fields omitted */ }

Endpoint interface to interacting with the mod.io API.

Methods

impl Modio<HttpsConnector<HttpConnector>>
[src]

Create an endpoint to https://api.mod.io/v1.

Create an endpoint to a different host.

impl<C> Modio<C> where
    C: Clone + Connect + 'static, 
[src]

Create an endpoint with a custom hyper client.

Consume the endpoint and create an endpoint with new credentials.

Return a reference to an interface for requesting access tokens.

Return a reference to an interface that provides access to game informations.

Return a reference to a game.

Return a reference to a mod.

Return a reference to an interface that provides access to resources owned by the user associated with the current authentication credentials.

Return a reference to an interface that provides access to user informations.

Return a reference to an interface to report games, mods and users.

Trait Implementations

impl<C: Clone> Clone for Modio<C> where
    C: Clone + Connect + 'static, 
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<C: Debug> Debug for Modio<C> where
    C: Clone + Connect + 'static, 
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<C> Send for Modio<C>

impl<C> Sync for Modio<C>