From e4d787b49724136060b7f3785464406bfe30b6f5 Mon Sep 17 00:00:00 2001 From: Zynh0722 Date: Mon, 22 Apr 2024 23:34:48 -0700 Subject: [PATCH] pub record fields --- src/parse.rs | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/src/parse.rs b/src/parse.rs index 89d4041..701ef95 100644 --- a/src/parse.rs +++ b/src/parse.rs @@ -1,17 +1,17 @@ #[derive(Debug, serde::Deserialize)] pub struct Record { - origin_airport_code: String, - origin_airport: String, - origin_airport_id: String, - origin_airport_latitude: String, - origin_airport_longitude: String, - origin_city: String, - origin_country: String, - destination_airport_code: String, - destination_airport: String, - destination_airport_id: String, - destination_airport_latitude: String, - destination_airport_longitude: String, - destination_city: String, - destination_country: String, + pub origin_airport_code: String, + pub origin_airport: String, + pub origin_airport_id: String, + pub origin_airport_latitude: String, + pub origin_airport_longitude: String, + pub origin_city: String, + pub origin_country: String, + pub destination_airport_code: String, + pub destination_airport: String, + pub destination_airport_id: String, + pub destination_airport_latitude: String, + pub destination_airport_longitude: String, + pub destination_city: String, + pub destination_country: String, }