pub(super) struct Request<'a> {
pub(super) method: &'a str,
pub(super) host: &'a str,
pub(super) path: &'a str,
pub(super) query: &'a [(String, String)],
pub(super) body: &'a str,
}Expand description
The request sign signs.
Fields§
§method: &'a str§host: &'a strThe value the request sends in its own host header.
host_header is what produces it.
path: &'a str§query: &'a [(String, String)]§body: &'a strAuto Trait Implementations§
impl<'a> Freeze for Request<'a>
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> UnsafeUnpin for Request<'a>
impl<'a> UnwindSafe for Request<'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