Skip to content

Commit 8cdedc0

Browse files
authored
added Default implementation for S3EventRecord (#726)
1 parent f102711 commit 8cdedc0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lambda-events/src/event/s3/event.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ pub struct S3Event {
1313
}
1414

1515
/// `S3EventRecord` which wrap record data
16-
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
16+
#[derive(Clone, Debug, Default, Deserialize, Eq, PartialEq, Serialize)]
1717
#[serde(rename_all = "camelCase")]
1818
pub struct S3EventRecord {
1919
#[serde(default)]

0 commit comments

Comments
 (0)