[][src]Struct dropbox_sdk::HyperClient

pub struct HyperClient { /* fields omitted */ }

Methods

impl HyperClient[src]

pub fn new(token: String) -> HyperClient[src]

pub fn oauth2_token_from_authorization_code(
    client_id: &str,
    client_secret: &str,
    authorization_code: &str,
    redirect_uri: Option<&str>
) -> Result<String>
[src]

Given an authorization code, request an OAuth2 token from Dropbox API. Requires the App ID and secret, as well as the redirect URI used in the prior authorize request, if there was one.

Trait Implementations

impl HttpClient for HyperClient[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for 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.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Typeable for T where
    T: Any