Enum iata_bcbp::Field [−][src]
pub enum Field { FormatCode, AirlineIndividualUse, NumberOfLegsEncoded, FieldSizeOfVariableSizeField, OperatingCarrierPnrCode, BeginningOfVersionNumber, VersionNumber, FieldSizeOfStructuredMessageUnique, PassengerName, SourceOfCheckIn, SourceOfBoardingPassIssuance, PassengerDescription, DocumentType, FieldSizeOfStructuredMessageRepeated, SelecteeIndicator, MarketingCarrierDesignator, FrequentFlyerAirlineDesignator, AirlineDesignatorOfBoardingPassIssuer, DateOfIssueOfBoardingPass, BaggageTagLicensePlateNumbers, BeginningOfSecurityData, FromCityAirportCode, TypeOfSecurityData, LengthOfSecurityData, SecurityData, FirstNonConsecutiveBaggageTagLicensePlateNumbers, SecondNonConsecutiveBaggageTagLicensePlateNumbers, ToCityAirportCode, OperatingCarrierDesignator, FlightNumber, DateOfFlight, CompartmentCode, IdAdIndicator, SeatNumber, CheckInSequenceNumber, InternationalDocumentVerification, PassengerStatus, FreeBaggageAllowance, AirlineNumericCode, DocumentFormSerialNumber, FrequentFlyerNumber, ElectronicTicketIndicator, FastTrack, }
Variants
FormatCode
Item 1: Format Code. 1 byte. Data Type 'f'.
AirlineIndividualUse
Item 4: Airline Individual Use. n bytes. Data Type unspecified.
NumberOfLegsEncoded
Item 5: Number of Legs Encoded. 1 byte. Data Type 'N'.
FieldSizeOfVariableSizeField
Item 6: Field Size of Variable Size Field. 2 byte. Data Type 'f'. Hexadecimal.
OperatingCarrierPnrCode
Item 7: Operating Carrier PNR Code. 7 bytes. Data Type 'f'.
BeginningOfVersionNumber
Item 8: Beginning of Version Number. 1 byte. Data Type 'f'.
VersionNumber
Item 9: Version Number. 1 byte. Data Type 'f'.
FieldSizeOfStructuredMessageUnique
Item 10: Field Size of Structured Message. 2 byte. Data Type 'f'. Hexadecimal.
PassengerName
Item 11: Passenger Name. 20 bytes. Data Type 'f'.
SourceOfCheckIn
Item 12: Source of Check-In. 1 byte. Data Type 'f'.
SourceOfBoardingPassIssuance
Item 14: Source of Boarding Pass Issuance. 1 byte. Data Type 'f'.
PassengerDescription
Item 15: Passenger Description. 1 byte. Data Type 'f'.
DocumentType
Item 16: Document Type. 1 byte. Data Type 'f'.
FieldSizeOfStructuredMessageRepeated
Item 17: Field Size of Structured Message. 2 byte. Data Type 'f'. Hexadecimal.
SelecteeIndicator
Item 18: Selectee Indicator. 1 byte. Data Type 'f'.
MarketingCarrierDesignator
Item 19: Marketing Carrier Designator. 3 bytes. Data Type 'f'.
FrequentFlyerAirlineDesignator
Item 20: Frequent Flyer Airline Designator. 3 bytes. Data Type 'f'.
AirlineDesignatorOfBoardingPassIssuer
Item 21: Airline Designator of Boarding Pass Issuer. 3 bytes. Data Type 'f'.
DateOfIssueOfBoardingPass
Item 22: Date of Issue of Boarding Pass. 4 bytes. Data Type 'N'.
BaggageTagLicensePlateNumbers
Item 23: Baggage Tag License Plate Number(s). 13 bytes. Data Type 'f'.
BeginningOfSecurityData
Item 25: Beginning of Security Data. 1 byte. Data Type 'f'.
FromCityAirportCode
Item 26: From City Airport Code. 3 bytes. Data Type 'a'.
TypeOfSecurityData
Item 28: Type of Security Data. 1 byte. Data Type 'f'.
LengthOfSecurityData
Item 29: Length of Security Data. 2 bytes. Data Type 'f'. Hexadecimal.
SecurityData
Item 30: Security Data. n bytes. Data Type 'f'.
FirstNonConsecutiveBaggageTagLicensePlateNumbers
Item 31: First Non-Consecutive Baggage Tag License Plate Number. 13 bytes. Data Type 'f'.
SecondNonConsecutiveBaggageTagLicensePlateNumbers
Item 32: Second Non-Consecutive Baggage Tag License Plate Number. 13 bytes. Data Type 'f'.
ToCityAirportCode
Item 38: To City Airport Code. 3 bytes. Data Type 'a'.
OperatingCarrierDesignator
Item 42: Operating Carrier Designator. 3 bytes. Data Type 'f'.
FlightNumber
Item 43: Flight Number. 5 bytes. Data Type 'NNNN[a]'.
DateOfFlight
Item 46: Date of Flight. 3 bytes. Data Type 'N'.
CompartmentCode
Item 71: Compartment Code. 1 byte. Data Type 'a'.
IdAdIndicator
Item 89: Electronic Ticket Indicator. 1 byte. Data Type 'f'.
SeatNumber
Item 104: Seat Number. 4 bytes. Data Type is usually 'NNNa', but can be 'INF ' or similar.
CheckInSequenceNumber
Item 107: Check-In Sequence Number. 5 bytes. Data Type is usually 'NNNN[f]', but can be 'f'.
InternationalDocumentVerification
Item 108: International Document Verification. 1 byte. Data Type 'f'.
PassengerStatus
Item 117: Passenger Status. 1 byte. Data Type 'f'.
FreeBaggageAllowance
Item 118: Free Baggage Allowance. 3 bytes. Data Type 'f'.
AirlineNumericCode
Item 142: Airline Numeric Code. 3 bytes. Data Type 'N'.
DocumentFormSerialNumber
Item 143: Document Form / Serial Number. 10 bytes. Data Type 'f'.
FrequentFlyerNumber
Item 236: Frequent Flyer Number. 16 bytes. Data Type 'f'.
ElectronicTicketIndicator
Item 253: Electronic Ticket Indicator. 1 byte. Data Type 'f'.
FastTrack
Item 254: Fast Track. 1 byte. Data Type 'f'.
Methods
impl Field
[src]
impl Field
pub fn len(self) -> usize
[src]
pub fn len(self) -> usize
The required length of the field. If zero, the field may be arbitrarily long.
pub fn name(self) -> &'static str
[src]
pub fn name(self) -> &'static str
Name of the field as defined in the Implementation Guide.
Trait Implementations
impl Copy for Field
[src]
impl Copy for Field
impl Clone for Field
[src]
impl Clone for Field
fn clone(&self) -> Field
[src]
fn clone(&self) -> Field
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Eq for Field
[src]
impl Eq for Field
impl PartialEq for Field
[src]
impl PartialEq for Field
fn eq(&self, other: &Field) -> bool
[src]
fn eq(&self, other: &Field) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
This method tests for !=
.
impl Ord for Field
[src]
impl Ord for Field
fn cmp(&self, other: &Field) -> Ordering
[src]
fn cmp(&self, other: &Field) -> Ordering
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
1.21.0[src]
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
impl PartialOrd for Field
[src]
impl PartialOrd for Field
fn partial_cmp(&self, other: &Field) -> Option<Ordering>
[src]
fn partial_cmp(&self, other: &Field) -> Option<Ordering>
This method returns an ordering between self
and other
values if one exists. Read more
#[must_use]
fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self
and other
) and is used by the <
operator. Read more
#[must_use]
fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
#[must_use]
fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn gt(&self, other: &Rhs) -> bool
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
#[must_use]
fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ge(&self, other: &Rhs) -> bool
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Debug for Field
[src]
impl Debug for Field
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl Hash for Field
[src]
impl Hash for Field
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl Display for Field
[src]
impl Display for Field