pub struct ApiGatewayEvent {
pub resource: String,
pub path: String,
pub http_method: String,
pub headers: HashMap<String, String>,
pub query_string_parameters: Option<HashMap<String, String>>,
pub path_parameters: Option<HashMap<String, String>>,
pub stage_variables: Option<HashMap<String, String>>,
pub request_context: Option<ApiGatewayRequestContext>,
pub body: Option<String>,
}
Fields§
§resource: String
§path: String
§http_method: String
§headers: HashMap<String, String>
§query_string_parameters: Option<HashMap<String, String>>
§path_parameters: Option<HashMap<String, String>>
§stage_variables: Option<HashMap<String, String>>
§request_context: Option<ApiGatewayRequestContext>
§body: Option<String>
Trait Implementations§
Source§impl Clone for ApiGatewayEvent
impl Clone for ApiGatewayEvent
Source§fn clone(&self) -> ApiGatewayEvent
fn clone(&self) -> ApiGatewayEvent
Returns a duplicate 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 ApiGatewayEvent
impl Debug for ApiGatewayEvent
Source§impl<'de> Deserialize<'de> for ApiGatewayEvent
impl<'de> Deserialize<'de> for ApiGatewayEvent
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
Auto Trait Implementations§
impl Freeze for ApiGatewayEvent
impl RefUnwindSafe for ApiGatewayEvent
impl Send for ApiGatewayEvent
impl Sync for ApiGatewayEvent
impl Unpin for ApiGatewayEvent
impl UnwindSafe for ApiGatewayEvent
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