Struct aws_lambda_events::event::apigw::ApiGatewayProxyRequest
source · pub struct ApiGatewayProxyRequest {
pub resource: Option<String>,
pub path: Option<String>,
pub http_method: Method,
pub headers: HeaderMap,
pub multi_value_headers: HeaderMap,
pub query_string_parameters: QueryMap,
pub multi_value_query_string_parameters: QueryMap,
pub path_parameters: HashMap<String, String>,
pub stage_variables: HashMap<String, String>,
pub request_context: ApiGatewayProxyRequestContext,
pub body: Option<String>,
pub is_base64_encoded: bool,
}
Expand description
ApiGatewayProxyRequest
contains data coming from the API Gateway proxy
Fields§
§resource: Option<String>
The resource path defined in API Gateway
path: Option<String>
The url path for the caller
http_method: Method
§headers: HeaderMap
§multi_value_headers: HeaderMap
§query_string_parameters: QueryMap
§multi_value_query_string_parameters: QueryMap
§path_parameters: HashMap<String, String>
§stage_variables: HashMap<String, String>
§request_context: ApiGatewayProxyRequestContext
§body: Option<String>
§is_base64_encoded: bool
Trait Implementations§
source§impl Clone for ApiGatewayProxyRequest
impl Clone for ApiGatewayProxyRequest
source§fn clone(&self) -> ApiGatewayProxyRequest
fn clone(&self) -> ApiGatewayProxyRequest
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiGatewayProxyRequest
impl Debug for ApiGatewayProxyRequest
source§impl Default for ApiGatewayProxyRequest
impl Default for ApiGatewayProxyRequest
source§fn default() -> ApiGatewayProxyRequest
fn default() -> ApiGatewayProxyRequest
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ApiGatewayProxyRequest
impl<'de> Deserialize<'de> for ApiGatewayProxyRequest
source§fn 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
source§impl PartialEq for ApiGatewayProxyRequest
impl PartialEq for ApiGatewayProxyRequest
source§fn eq(&self, other: &ApiGatewayProxyRequest) -> bool
fn eq(&self, other: &ApiGatewayProxyRequest) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ApiGatewayProxyRequest
impl Serialize for ApiGatewayProxyRequest
impl StructuralPartialEq for ApiGatewayProxyRequest
Auto Trait Implementations§
impl Freeze for ApiGatewayProxyRequest
impl RefUnwindSafe for ApiGatewayProxyRequest
impl Send for ApiGatewayProxyRequest
impl Sync for ApiGatewayProxyRequest
impl Unpin for ApiGatewayProxyRequest
impl UnwindSafe for ApiGatewayProxyRequest
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