[−][src]Struct dropbox_sdk::default_client::TeamAuthDefaultClient
This is supported on crate feature
default_client
only.Default HTTP client using Team authorization.
Implementations
impl TeamAuthDefaultClient
[src]
pub fn new(token: String) -> Self
[src]
Create a new client using the given OAuth2 token, with no user/admin context selected.
pub fn select(&mut self, team_select: Option<TeamSelect>)
[src]
Select a user or team context to operate in.
Trait Implementations
impl HttpClient for TeamAuthDefaultClient
[src]
fn request(
&self,
endpoint: Endpoint,
style: Style,
function: &str,
params: String,
params_type: ParamsType,
body: Option<&[u8]>,
range_start: Option<u64>,
range_end: Option<u64>
) -> Result<HttpRequestResultRaw>
[src]
&self,
endpoint: Endpoint,
style: Style,
function: &str,
params: String,
params_type: ParamsType,
body: Option<&[u8]>,
range_start: Option<u64>,
range_end: Option<u64>
) -> Result<HttpRequestResultRaw>
impl TeamAuthClient for TeamAuthDefaultClient
[src]
Auto Trait Implementations
impl RefUnwindSafe for TeamAuthDefaultClient
impl Send for TeamAuthDefaultClient
impl Sync for TeamAuthDefaultClient
impl Unpin for TeamAuthDefaultClient
impl UnwindSafe for TeamAuthDefaultClient
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
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.
pub 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>,