Struct foursquare::Client
[−]
[src]
pub struct Client<C> where
C: Clone + Connect, { /* fields omitted */ }
Entry point interface for interacting with Foursquare API
Methods
impl Client<HttpsConnector<HttpConnector>>
[src]
fn new<V>(version: V, credentials: Credentials, handle: &Handle) -> Self where
V: Into<String>,
[src]
V: Into<String>,
returns a new client
version should be in YYYYMMDD
format
impl<C> Client<C> where
C: Clone + Connect,
[src]
C: Clone + Connect,
fn custom<V>(version: V, credentials: Credentials, http: HyperClient<C>) -> Self where
V: Into<String>,
[src]
V: Into<String>,
Return a new Client with a custom hyper::Client
fn venues(&self) -> Venues<C>
[src]
Return an interface to venue operations
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,