pub struct LambdaContext<'a, E: Serialize + Deserialize<'a> + Clone + Debug> {
pub client: AwsLambdaClient,
pub event: E,
pub _phantom: PhantomData<&'a E>,
}
Fields§
§client: AwsLambdaClient
§event: E
§_phantom: PhantomData<&'a E>
Auto Trait Implementations§
impl<'a, E> Freeze for LambdaContext<'a, E>where
E: Freeze,
impl<'a, E> RefUnwindSafe for LambdaContext<'a, E>where
E: RefUnwindSafe,
impl<'a, E> Send for LambdaContext<'a, E>
impl<'a, E> Sync for LambdaContext<'a, E>where
E: Sync,
impl<'a, E> Unpin for LambdaContext<'a, E>where
E: Unpin,
impl<'a, E> UnwindSafe for LambdaContext<'a, E>where
E: UnwindSafe + RefUnwindSafe,
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