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