Struct ezomyte::Client
[−]
[src]
pub struct Client<C> where
C: Clone + Connect, { /* fields omitted */ }
Client interface for interacting with Path of Exile API.
Methods
impl Client<HttpConnector>
[src]
pub fn new<A>(user_agent: A, handle: &Handle) -> Self where
A: Into<String>,
[src]
A: Into<String>,
Create a new Client
which points to the default API URL.
pub fn with_api_root<R, A>(api_root: R, user_agent: A, handle: &Handle) -> Self where
R: AsRef<str>,
A: Into<String>,
[src]
R: AsRef<str>,
A: Into<String>,
Create a Client
which points to given API URL.
impl<C: Clone + Connect> Client<C>
[src]
pub fn with_http<R, A>(http: Client<C>, api_root: R, user_agent: A) -> Self where
R: AsRef<str>,
A: Into<String>,
[src]
R: AsRef<str>,
A: Into<String>,
Create a Client
which directly wraps a hyper::Client
.
impl<C: Clone + Connect> Client<C>
[src]
pub fn stashes(&self) -> Stashes<C>
[src]
Access interface for public stash tabs.
pub fn leagues(&self) -> Leagues<C>
[src]
Access interface for PoE league information.
pub fn league_rules(&self) -> LeagueRules<C>
[src]
Access the interface PoE league rules' information.
pub fn pvp_matches(&self) -> PvpMatches<C>
[src]
Access the interface for PoE PvP matches information.
Trait Implementations
impl<C: Clone> Clone for Client<C> where
C: Clone + Connect,
[src]
C: Clone + Connect,
fn clone(&self) -> Client<C>
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<C: Debug> Debug for Client<C> where
C: Clone + Connect,
[src]
C: Clone + Connect,