Struct aws_lambda_events::event::apigw::ApiGatewayV2httpResponse [−][src]
pub struct ApiGatewayV2httpResponse {
pub status_code: i64,
pub headers: HeaderMap,
pub multi_value_headers: HeaderMap,
pub body: Option<Body>,
pub is_base64_encoded: Option<bool>,
pub cookies: Vec<String>,
}
Expand description
ApiGatewayV2httpResponse
configures the response to be returned by API Gateway V2 for the request
Fields
status_code: i64
headers: HeaderMap
multi_value_headers: HeaderMap
body: Option<Body>
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 RefUnwindSafe for ApiGatewayV2httpResponse
impl Send for ApiGatewayV2httpResponse
impl Sync for ApiGatewayV2httpResponse
impl Unpin for ApiGatewayV2httpResponse
impl UnwindSafe for ApiGatewayV2httpResponse
Blanket Implementations
Mutably borrows from an owned value. Read more