pub struct Request;Trait Implementations§
impl Eq for Request
Source§impl HttpRequest for Request
impl HttpRequest for Request
Source§const METHOD: Method = ::http_request_derive::__exports::http::Method::GET
const METHOD: Method = ::http_request_derive::__exports::http::Method::GET
The method used to send the data to the API endpoint
Source§fn apply_headers(&self, headers: &mut HeaderMap)
fn apply_headers(&self, headers: &mut HeaderMap)
Get the headers for the
http::Requestimpl StructuralPartialEq for Request
Auto Trait Implementations§
impl Freeze for Request
impl RefUnwindSafe for Request
impl Send for Request
impl Sync for Request
impl Unpin for Request
impl UnsafeUnpin for Request
impl UnwindSafe for Request
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