pub struct RequestHead<'a> {
pub method: &'a Method,
pub raw_path: &'a str,
pub headers: &'a HeaderMap,
pub query_params: &'a HashMap<String, String>,
pub anonymous: bool,
pub region: &'a str,
pub request_id: &'a str,
}Expand description
What dispatch knows of a request before reading its body: enough for a
service to classify it (AwsService::streams_request_body).
Fields§
§method: &'a Method§raw_path: &'a strThe raw (undecoded) path the request is routed on; for S3 the
virtual-hosted bucket is already prefixed, as in
AwsRequest::raw_path.
headers: &'a HeaderMapThe request’s headers, a presigned URL’s x-amz-* query parameters
among them, as in AwsRequest::headers.
query_params: &'a HashMap<String, String>§anonymous: boolWhether the request presents no credentials at all (no signature, no presigned credential, no in-process caller).
region: &'a str§request_id: &'a strAuto Trait Implementations§
impl<'a> Forget for RequestHead<'a>
impl<'a> Freeze for RequestHead<'a>
impl<'a> Move for RequestHead<'a>
impl<'a> RefUnwindSafe for RequestHead<'a>
impl<'a> Send for RequestHead<'a>
impl<'a> Sync for RequestHead<'a>
impl<'a> Unpin for RequestHead<'a>
impl<'a> UnsafeUnpin for RequestHead<'a>
impl<'a> UnwindSafe for RequestHead<'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