pub struct HttpRequest {
pub method: HttpMethod,
pub url: Url,
pub bearer: Option<String>,
pub body: Option<Vec<u8>>,
pub timeout: Duration,
}Fields§
§method: HttpMethod§url: Url§bearer: Option<String>§body: Option<Vec<u8>>§timeout: DurationTrait Implementations§
Auto Trait Implementations§
impl Forget for HttpRequest
impl Freeze for HttpRequest
impl Move for HttpRequest
impl RefUnwindSafe for HttpRequest
impl Send for HttpRequestwhere
RawVecInner: Send,
impl Sync for HttpRequestwhere
RawVecInner: Sync,
impl Unpin for HttpRequest
impl UnsafeUnpin for HttpRequest
impl UnwindSafe for HttpRequestwhere
RawVecInner: UnwindSafe,
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