From db26a3ab3512dd0e94ec7cbf1df313aa86506b50 Mon Sep 17 00:00:00 2001 From: Douglas Harcourt Parsons Date: Sat, 25 May 2024 15:27:45 +0100 Subject: [PATCH] Make all fields on `pub` structs `pub` too. --- crates/vercel_runtime/src/request.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/vercel_runtime/src/request.rs b/crates/vercel_runtime/src/request.rs index 70dc0e9..da22339 100644 --- a/crates/vercel_runtime/src/request.rs +++ b/crates/vercel_runtime/src/request.rs @@ -29,8 +29,8 @@ pub type Event<'a> = LambdaEvent>; pub struct VercelEvent<'a> { #[allow(dead_code)] #[serde(rename = "Action")] - action: Cow<'a, str>, - pub(crate) body: Cow<'a, str>, + pub action: Cow<'a, str>, + pub body: Cow<'a, str>, } fn deserialize_method<'de, D>(deserializer: D) -> Result