Struct lambda_runtime::LambdaEvent
source · pub struct LambdaEvent<T> {
pub payload: T,
pub context: Context,
}
Expand description
Incoming Lambda request containing the event payload and context.
Fields§
§payload: T
Event payload.
context: Context
Invocation context.
Implementations§
source§impl<T> LambdaEvent<T>
impl<T> LambdaEvent<T>
Trait Implementations§
source§impl<T: Clone> Clone for LambdaEvent<T>
impl<T: Clone> Clone for LambdaEvent<T>
source§fn clone(&self) -> LambdaEvent<T>
fn clone(&self) -> LambdaEvent<T>
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 more