pub struct ApiGatewayWebsocketProxyRequestContext<T1 = Value, T2 = Value> where
    T1: DeserializeOwned,
    T1: Serialize,
    T2: DeserializeOwned,
    T2: Serialize
{
Show 22 fields pub account_id: Option<String>, pub resource_id: Option<String>, pub stage: Option<String>, pub request_id: Option<String>, pub identity: ApiGatewayRequestIdentity, pub resource_path: Option<String>, pub authorizer: Option<T1>, pub http_method: Option<Method>, pub apiid: Option<String>, pub connected_at: i64, pub connection_id: Option<String>, pub domain_name: Option<String>, pub error: Option<String>, pub event_type: Option<String>, pub extended_request_id: Option<String>, pub integration_latency: Option<String>, pub message_direction: Option<String>, pub message_id: Option<T2>, pub request_time: Option<String>, pub request_time_epoch: i64, pub route_key: Option<String>, pub status: Option<String>,
}
Expand description

ApiGatewayWebsocketProxyRequestContext contains the information to identify the AWS account and resources invoking the Lambda function. It also includes Cognito identity information for the caller.

Fields

account_id: Option<String>resource_id: Option<String>stage: Option<String>request_id: Option<String>identity: ApiGatewayRequestIdentityresource_path: Option<String>authorizer: Option<T1>http_method: Option<Method>apiid: Option<String>

The API Gateway rest API Id

connected_at: i64connection_id: Option<String>domain_name: Option<String>error: Option<String>event_type: Option<String>extended_request_id: Option<String>integration_latency: Option<String>message_direction: Option<String>message_id: Option<T2>request_time: Option<String>request_time_epoch: i64route_key: Option<String>status: Option<String>

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.