[−][src]Struct dropbox_sdk::HyperClient
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]
client_id: &str,
client_secret: &str,
authorization_code: &str,
redirect_uri: Option<&str>
) -> Result<String>
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
impl Unpin for HyperClient
impl Sync for HyperClient
impl Send for HyperClient
impl !UnwindSafe for HyperClient
impl !RefUnwindSafe for HyperClient
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Typeable for T where
T: Any,
T: Any,