Enum lambda_http::request::RequestContext
source · [−]pub enum RequestContext {
ApiGatewayV1(ApiGatewayProxyRequestContext),
ApiGatewayV2(ApiGatewayV2httpRequestContext),
Alb(AlbTargetGroupRequestContext),
WebSocket(ApiGatewayWebsocketProxyRequestContext),
}Expand description
Event request context as an enumeration of request contexts for both ALB and API Gateway and HTTP API events
Variants
ApiGatewayV1(ApiGatewayProxyRequestContext)
API Gateway proxy request context
ApiGatewayV2(ApiGatewayV2httpRequestContext)
API Gateway v2 request context
Alb(AlbTargetGroupRequestContext)
ALB request context
WebSocket(ApiGatewayWebsocketProxyRequestContext)
WebSocket request context
Trait Implementations
sourceimpl Clone for RequestContext
impl Clone for RequestContext
sourcefn clone(&self) -> RequestContext
fn clone(&self) -> RequestContext
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 moresourceimpl Debug for RequestContext
impl Debug for RequestContext
sourceimpl<'de> Deserialize<'de> for RequestContext
impl<'de> Deserialize<'de> for RequestContext
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
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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