Struct aws_lambda_events::apigw::ApiGatewayV2httpRequest
source · [−]pub struct ApiGatewayV2httpRequest {
pub version: Option<String>,
pub route_key: Option<String>,
pub raw_path: Option<String>,
pub raw_query_string: Option<String>,
pub cookies: Option<Vec<String>>,
pub headers: HeaderMap,
pub query_string_parameters: QueryMap,
pub path_parameters: HashMap<String, String>,
pub request_context: ApiGatewayV2httpRequestContext,
pub stage_variables: HashMap<String, String>,
pub body: Option<String>,
pub is_base64_encoded: bool,
}
Expand description
ApiGatewayV2httpRequest
contains data coming from the new HTTP API Gateway
Fields
version: Option<String>
route_key: Option<String>
raw_path: Option<String>
raw_query_string: Option<String>
headers: HeaderMap
query_string_parameters: QueryMap
path_parameters: HashMap<String, String>
request_context: ApiGatewayV2httpRequestContext
stage_variables: HashMap<String, String>
body: Option<String>
is_base64_encoded: bool
Trait Implementations
sourceimpl Clone for ApiGatewayV2httpRequest
impl Clone for ApiGatewayV2httpRequest
sourcefn clone(&self) -> ApiGatewayV2httpRequest
fn clone(&self) -> ApiGatewayV2httpRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApiGatewayV2httpRequest
impl Debug for ApiGatewayV2httpRequest
sourceimpl<'de> Deserialize<'de> for ApiGatewayV2httpRequest
impl<'de> Deserialize<'de> for ApiGatewayV2httpRequest
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<ApiGatewayV2httpRequest> for ApiGatewayV2httpRequest
impl PartialEq<ApiGatewayV2httpRequest> for ApiGatewayV2httpRequest
sourcefn eq(&self, other: &ApiGatewayV2httpRequest) -> bool
fn eq(&self, other: &ApiGatewayV2httpRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ApiGatewayV2httpRequest) -> bool
fn ne(&self, other: &ApiGatewayV2httpRequest) -> bool
This method tests for !=
.
sourceimpl Serialize for ApiGatewayV2httpRequest
impl Serialize for ApiGatewayV2httpRequest
impl StructuralPartialEq for ApiGatewayV2httpRequest
Auto Trait Implementations
impl RefUnwindSafe for ApiGatewayV2httpRequest
impl Send for ApiGatewayV2httpRequest
impl Sync for ApiGatewayV2httpRequest
impl Unpin for ApiGatewayV2httpRequest
impl UnwindSafe for ApiGatewayV2httpRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more