pub struct OAuthHttpRequest {
pub method: OAuthHttpMethod,
pub url: String,
pub headers: Vec<(String, String)>,
pub body: OAuthHttpBody,
}Expand description
Transport-neutral OAuth protocol HTTP request.
Fields§
§method: OAuthHttpMethodHTTP method.
url: StringAbsolute request URL.
headers: Vec<(String, String)>Request headers.
body: OAuthHttpBodyRequest body.
Trait Implementations§
Source§impl Clone for OAuthHttpRequest
impl Clone for OAuthHttpRequest
Source§fn clone(&self) -> OAuthHttpRequest
fn clone(&self) -> OAuthHttpRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OAuthHttpRequest
impl RefUnwindSafe for OAuthHttpRequest
impl Send for OAuthHttpRequest
impl Sync for OAuthHttpRequest
impl Unpin for OAuthHttpRequest
impl UnsafeUnpin for OAuthHttpRequest
impl UnwindSafe for OAuthHttpRequest
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