From 2883d342339c467afa12e80929df4903f6558d6b Mon Sep 17 00:00:00 2001 From: Darun Seethammagari Date: Wed, 8 Jan 2025 08:40:37 -0800 Subject: [PATCH] Make inner fields public --- lazer/sdk/rust/protocol/src/api.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lazer/sdk/rust/protocol/src/api.rs b/lazer/sdk/rust/protocol/src/api.rs index f13fb3c162..c1488b3877 100644 --- a/lazer/sdk/rust/protocol/src/api.rs +++ b/lazer/sdk/rust/protocol/src/api.rs @@ -25,6 +25,6 @@ pub struct LatestPriceResponse { #[derive(Debug, Clone, Serialize, Deserialize)] #[serde(rename_all = "camelCase")] pub struct LatestPrice { - id: PriceFeedId, - prices: AggregatedPriceFeedData, + pub id: PriceFeedId, + pub prices: AggregatedPriceFeedData, }