Struct aws_lambda_events::event::apigw::ApiGatewayProxyResponse
source · pub struct ApiGatewayProxyResponse {
pub status_code: i64,
pub headers: HashMap<String, String>,
pub body: Option<String>,
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: HashMap<String, String>
§body: Option<String>
§is_base64_encoded: Option<bool>
Trait Implementations§
source§impl Clone for ApiGatewayProxyResponse
impl Clone for ApiGatewayProxyResponse
source§fn clone(&self) -> ApiGatewayProxyResponse
fn clone(&self) -> ApiGatewayProxyResponse
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ApiGatewayProxyResponse
impl Debug for ApiGatewayProxyResponse
source§impl<'de> Deserialize<'de> for ApiGatewayProxyResponse
impl<'de> Deserialize<'de> for ApiGatewayProxyResponse
source§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