add input record

This commit is contained in:
Zynh0722 2024-04-22 23:29:40 -07:00
parent d8ff46ffbd
commit ec09e3c926
2 changed files with 18 additions and 0 deletions

View file

@ -1,3 +1,5 @@
mod parse;
fn main() {
println!("Hello, world!");
}

16
src/parse.rs Normal file
View file

@ -0,0 +1,16 @@
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,
}