pub struct DetrFlightSeg<'a> {Show 22 fields
pub transit_flag: Option<&'a str>,
pub index: Option<i32>,
pub org: Option<&'a str>,
pub dst: Option<&'a str>,
pub airline: Option<&'a str>,
pub carrier: Option<&'a str>,
pub flight_no: Option<&'a str>,
pub flight_deptdate: Option<&'a str>,
pub flight_depttime: Option<&'a str>,
pub flight_class: Option<&'a str>,
pub seat_status: Option<&'a str>,
pub fare_basis: Option<&'a str>,
pub nvb: Option<&'a str>,
pub nva: Option<&'a str>,
pub baggage: Option<&'a str>,
pub ticket_status: Option<&'a str>,
pub org_term: Option<&'a str>,
pub dst_term: Option<&'a str>,
pub bpnr: Option<&'a str>,
pub cpnr: Option<&'a str>,
pub system: Option<&'a str>,
pub passenger_status_flag: Option<&'a str>,
}
Fields§
§transit_flag: Option<&'a str>
the flag that show how long to transit. such as O is more than 24 hours,X is less than 24 hours.
index: Option<i32>
index of segment.
org: Option<&'a str>
airport of departure
dst: Option<&'a str>
airport of arrival
airline: Option<&'a str>
airline code
carrier: Option<&'a str>
the code of operator airline
flight_no: Option<&'a str>
the number of flight.
flight_deptdate: Option<&'a str>
departure date
flight_depttime: Option<&'a str>
arrival time
flight_class: Option<&'a str>
the cabin of flight.
seat_status: Option<&'a str>
the status of seat, such as OK represent reserved (RR or HK), RQ represent candidate, NS represent no seat(like baby), SA represent free seat(like free),
fare_basis: Option<&'a str>
the fare price of basis.
nvb: Option<&'a str>
valid date.
nva: Option<&'a str>
valid date.
baggage: Option<&'a str>
baggage, such as K:km PC:piece NIL:no free luggage
ticket_status: Option<&'a str>
the status of ticket, such as “OPEN FOR USE” represent unused, USED/FLOWN, VOID, REFUNDED, CHECK/IN, LIFT/BOARDED, SUSPENDED, EXCHANGED, AIRPORT CNTL, CPN NOTE, FIM EXCH.
org_term: Option<&'a str>
the terminal of departure
dst_term: Option<&'a str>
the terminal of arrival
bpnr: Option<&'a str>
big pnr
cpnr: Option<&'a str>
pnr
system: Option<&'a str>
§passenger_status_flag: Option<&'a str>
the status of passenger, such as OFLK represent checkin and unboarded, NOSH represent miss flight.