Struct dropbox_sdk::default_client::NoauthDefaultClient
source · [−]pub struct NoauthDefaultClient { /* private fields */ }
This is supported on crate feature
default_client
only.Expand description
Default HTTP client for unauthenticated API calls.
Implementations
sourceimpl NoauthDefaultClient
impl NoauthDefaultClient
sourcepub fn set_path_root(&mut self, path_root: &PathRoot)
pub fn set_path_root(&mut self, path_root: &PathRoot)
Set a root which all subsequent paths are evaluated relative to.
The default, if this function is not called, is to behave as if it was called with
PathRoot::Home
.
See https://www.dropbox.com/developers/reference/path-root-header-modes for more information.
Trait Implementations
sourceimpl Debug for NoauthDefaultClient
impl Debug for NoauthDefaultClient
sourceimpl Default for NoauthDefaultClient
impl Default for NoauthDefaultClient
sourcefn default() -> NoauthDefaultClient
fn default() -> NoauthDefaultClient
Returns the “default value” for a type. Read more
sourceimpl HttpClient for NoauthDefaultClient
impl HttpClient for NoauthDefaultClient
impl NoauthClient for NoauthDefaultClient
Auto Trait Implementations
impl RefUnwindSafe for NoauthDefaultClient
impl Send for NoauthDefaultClient
impl Sync for NoauthDefaultClient
impl Unpin for NoauthDefaultClient
impl UnwindSafe for NoauthDefaultClient
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more