Enum dropbox_sdk::client_trait::Style
source · [−]pub enum Style {
Rpc,
Upload,
Download,
}
Expand description
The style of a request, which determines how arguments are passed, and whether there is a request and/or response body.
Variants
Rpc
Arguments are passed in the request body; response is in the body; no request or response body content stream.
Upload
Arguments are passed in a HTTP header; response is in the body; request body is the upload content; no response body content stream.
Download
Arguments are passed in a HTTP header; response is in a HTTP header; no request content body; response body contains the content stream.
Trait Implementations
impl Copy for Style
impl Eq for Style
impl StructuralEq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more