pub struct SendRequestOptions<'a, RequestBody> {
pub method: &'a str,
pub path: &'a str,
pub header: Option<HashMap<&'a str, &'a str>>,
pub body: RequestBody,
}
Fields§
§method: &'a str
§path: &'a str
§header: Option<HashMap<&'a str, &'a str>>
§body: RequestBody
Auto Trait Implementations§
impl<'a, RequestBody> Freeze for SendRequestOptions<'a, RequestBody>where
RequestBody: Freeze,
impl<'a, RequestBody> RefUnwindSafe for SendRequestOptions<'a, RequestBody>where
RequestBody: RefUnwindSafe,
impl<'a, RequestBody> Send for SendRequestOptions<'a, RequestBody>where
RequestBody: Send,
impl<'a, RequestBody> Sync for SendRequestOptions<'a, RequestBody>where
RequestBody: Sync,
impl<'a, RequestBody> Unpin for SendRequestOptions<'a, RequestBody>where
RequestBody: Unpin,
impl<'a, RequestBody> UnwindSafe for SendRequestOptions<'a, RequestBody>where
RequestBody: 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