Struct aws_lambda_events::event::apigw::ApiGatewayWebsocketProxyRequest [−][src]
pub struct ApiGatewayWebsocketProxyRequest {
pub resource: Option<String>,
pub path: Option<String>,
pub http_method: Option<Method>,
pub headers: HeaderMap,
pub multi_value_headers: HeaderMap,
pub query_string_parameters: HashMap<String, String>,
pub multi_value_query_string_parameters: HashMap<String, Vec<String>>,
pub path_parameters: HashMap<String, String>,
pub stage_variables: HashMap<String, String>,
pub request_context: ApiGatewayWebsocketProxyRequestContext,
pub body: Option<String>,
pub is_base64_encoded: Option<bool>,
}
Expand description
ApiGatewayWebsocketProxyRequest
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: Option<Method>
headers: HeaderMap
multi_value_headers: HeaderMap
query_string_parameters: HashMap<String, String>
multi_value_query_string_parameters: HashMap<String, Vec<String>>
path_parameters: HashMap<String, String>
stage_variables: HashMap<String, String>
request_context: ApiGatewayWebsocketProxyRequestContext
body: Option<String>
is_base64_encoded: Option<bool>
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for ApiGatewayWebsocketProxyRequest
impl Sync for ApiGatewayWebsocketProxyRequest
impl Unpin for ApiGatewayWebsocketProxyRequest
Blanket Implementations
Mutably borrows from an owned value. Read more