pub struct Request<'a> {
pub url: &'a str,
pub method: Method,
pub auth: Option<Auth<'a>>,
pub query: Option<HashMap<&'a str, String>>,
pub body: Option<String>,
}
Fields
url: &'a str
method: Method
auth: Option<Auth<'a>>
query: Option<HashMap<&'a str, String>>
body: Option<String>
Trait Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Request<'a>
impl<'a> Send for Request<'a>
impl<'a> Sync for Request<'a>
impl<'a> Unpin for Request<'a>
impl<'a> UnwindSafe for Request<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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