pub struct ApiGatewayProxyResponse {
pub status_code: i64,
pub headers: HeaderMap,
pub multi_value_headers: HeaderMap,
pub body: Option<Body>,
pub is_base64_encoded: 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: boolTrait 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 Default for ApiGatewayProxyResponse
impl Default for ApiGatewayProxyResponse
Source§fn default() -> ApiGatewayProxyResponse
fn default() -> ApiGatewayProxyResponse
Returns the “default value” for a type. Read more
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
Source§impl PartialEq for ApiGatewayProxyResponse
impl PartialEq for ApiGatewayProxyResponse
Source§impl Serialize for ApiGatewayProxyResponse
impl Serialize for ApiGatewayProxyResponse
impl Eq for ApiGatewayProxyResponse
impl StructuralPartialEq for ApiGatewayProxyResponse
Auto Trait Implementations§
impl Freeze for ApiGatewayProxyResponse
impl RefUnwindSafe for ApiGatewayProxyResponse
impl Send for ApiGatewayProxyResponse
impl Sync for ApiGatewayProxyResponse
impl Unpin for ApiGatewayProxyResponse
impl UnwindSafe for ApiGatewayProxyResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more