Enum dropbox_sdk::client_trait::Endpoint
source · pub enum Endpoint {
Api,
Content,
Notify,
OAuth2,
}
Expand description
The API base endpoint for a request. Determines which hostname the request should go to.
Variants§
Api
The endpoint used for most API calls.
Content
The endpoint primarily used for upload and download calls.
Notify
The endpoint primarily used for longpolling calls.
OAuth2
The endpoint used for OAuth2 token requests.
Implementations§
Trait Implementations§
source§impl PartialEq<Endpoint> for Endpoint
impl PartialEq<Endpoint> for Endpoint
impl Copy for Endpoint
impl Eq for Endpoint
impl StructuralEq for Endpoint
impl StructuralPartialEq for Endpoint
Auto Trait Implementations§
impl RefUnwindSafe for Endpoint
impl Send for Endpoint
impl Sync for Endpoint
impl Unpin for Endpoint
impl UnwindSafe for Endpoint
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