pub struct RawRequest<'a> {
pub method: &'a str,
pub path: &'a str,
pub query: &'a [(&'a str, &'a str)],
pub form: &'a [(&'a str, &'a str)],
pub headers: &'a [(&'a str, &'a str)],
pub body: Option<&'a [u8]>,
}Expand description
Parameters for Client::raw.
Fields§
§method: &'a str§path: &'a str§query: &'a [(&'a str, &'a str)]§form: &'a [(&'a str, &'a str)]§headers: &'a [(&'a str, &'a str)]§body: Option<&'a [u8]>Auto Trait Implementations§
impl<'a> Freeze for RawRequest<'a>
impl<'a> RefUnwindSafe for RawRequest<'a>
impl<'a> Send for RawRequest<'a>
impl<'a> Sync for RawRequest<'a>
impl<'a> Unpin for RawRequest<'a>
impl<'a> UnsafeUnpin for RawRequest<'a>
impl<'a> UnwindSafe for RawRequest<'a>
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