Enum lambda_http::request::RequestContext [−][src]
pub enum RequestContext {
ApiGatewayV2(ApiGatewayV2RequestContext),
ApiGateway(ApiGatewayRequestContext),
Alb(AlbRequestContext),
}
Expand description
Event request context as an enumeration of request contexts for both ALB and API Gateway and HTTP API events
Variants
ApiGatewayV2(ApiGatewayV2RequestContext)
API Gateway v2 request context
Tuple Fields of ApiGatewayV2
ApiGateway(ApiGatewayRequestContext)
API Gateway request context
Tuple Fields of ApiGateway
Alb(AlbRequestContext)
ALB request context
Tuple Fields of Alb
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
Auto Trait Implementations
impl RefUnwindSafe for RequestContext
impl Send for RequestContext
impl Sync for RequestContext
impl Unpin for RequestContext
impl UnwindSafe for RequestContext
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more