Struct dropbox_sdk::default_client::NoauthDefaultClient
source · pub struct NoauthDefaultClient { /* private fields */ }
Available on crate feature
default_client
only.Expand description
Default HTTP client for unauthenticated API calls.
Implementations§
source§impl 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§
source§impl Debug for NoauthDefaultClient
impl Debug for NoauthDefaultClient
source§impl Default for NoauthDefaultClient
impl Default for NoauthDefaultClient
source§fn default() -> NoauthDefaultClient
fn default() -> NoauthDefaultClient
Returns the “default value” for a type. Read more
source§impl 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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more