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 moreAuto Trait Implementations§
impl<T> Freeze for LambdaEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for LambdaEvent<T>where
T: RefUnwindSafe,
impl<T> Send for LambdaEvent<T>where
T: Send,
impl<T> Sync for LambdaEvent<T>where
T: Sync,
impl<T> Unpin for LambdaEvent<T>where
T: Unpin,
impl<T> UnwindSafe for LambdaEvent<T>where
T: UnwindSafe,
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