Struct aws_lambda_events::apigw::ApiGatewayProxyResponse
source · [−]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
sourceimpl Clone for ApiGatewayProxyResponse
impl Clone for ApiGatewayProxyResponse
sourcefn clone(&self) -> ApiGatewayProxyResponse
fn clone(&self) -> ApiGatewayProxyResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ApiGatewayProxyResponse
impl Debug for ApiGatewayProxyResponse
sourceimpl<'de> Deserialize<'de> for ApiGatewayProxyResponse
impl<'de> Deserialize<'de> for ApiGatewayProxyResponse
sourcefn 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
sourceimpl PartialEq<ApiGatewayProxyResponse> for ApiGatewayProxyResponse
impl PartialEq<ApiGatewayProxyResponse> for ApiGatewayProxyResponse
sourcefn eq(&self, other: &ApiGatewayProxyResponse) -> bool
fn eq(&self, other: &ApiGatewayProxyResponse) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ApiGatewayProxyResponse) -> bool
fn ne(&self, other: &ApiGatewayProxyResponse) -> bool
This method tests for !=
.
sourceimpl Serialize for ApiGatewayProxyResponse
impl Serialize for ApiGatewayProxyResponse
impl StructuralPartialEq for ApiGatewayProxyResponse
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more