We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
tracing
1 parent 46fa37d commit abe5625Copy full SHA for abe5625
lambda-extension/src/events.rs
@@ -1,7 +1,7 @@
1
use serde::Deserialize;
2
3
/// Request tracing information
4
-#[derive(Debug, Deserialize)]
+#[derive(Debug, Default, Deserialize)]
5
#[serde(rename_all = "camelCase")]
6
pub struct Tracing {
7
/// The type of tracing exposed to the extension
@@ -20,6 +20,7 @@ pub struct InvokeEvent {
20
/// The function's Amazon Resource Name
21
pub invoked_function_arn: String,
22
/// The request tracing information
23
+ #[serde(default)]
24
pub tracing: Tracing,
25
}
26
0 commit comments