add input record
This commit is contained in:
parent
d8ff46ffbd
commit
ec09e3c926
2 changed files with 18 additions and 0 deletions
|
@ -1,3 +1,5 @@
|
||||||
|
mod parse;
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
println!("Hello, world!");
|
println!("Hello, world!");
|
||||||
}
|
}
|
||||||
|
|
16
src/parse.rs
Normal file
16
src/parse.rs
Normal 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,
|
||||||
|
}
|
Loading…
Reference in a new issue