[−][src]Struct iata_bcbp::Bcbp
Methods
impl Bcbp
[src]
pub fn legs(&self) -> &[Leg]
[src]
All legs encoded into the boarding pass. At least one needs to be present to form a valid boarding pass.
pub fn security_data(&self) -> &SecurityData
[src]
A reference to the optional security data used to verify a boarding pass was not tamptered with.
pub fn electronic_ticket_indicator(&self) -> char
[src]
Used to differentiate between an electronic ticket ('E') and another type of travel document. Values are defined in Resolution 792. A space indicates the field is not set.
pub fn version_number(&self) -> Option<char>
[src]
Indicates the version number of the BCBP object. Values are defined in Resolution 792. None indicates the value was not specified in the object. Some space literal indicates the field existed in the object but was not set.
pub fn passenger_description(&self) -> Option<char>
[src]
This describes the passenger. Values are defined in Resolution 792. Spaces indicate the field is not set.
pub fn passenger_name(&self) -> &str
[src]
The name of the passenger. Up to 20 characters, left-aligned, space padded.
The format is LAST_NAME/FIRST_NAME[TITLE]
. There is no separator between
the first name and the title, and no indication a title is present.
Certain names have characters which cannot be translated and
special handling may be required.
Spaces indicate the field is not set.
pub fn source_of_check_in(&self) -> Option<char>
[src]
This field reflects channel in which the customer initiated check-in. Values are defined in Resolution 792 Attachment C. Spaces indicate the field is not set.
pub fn source_of_boarding_pass_issuance(&self) -> Option<char>
[src]
This field reflects channel which issued the boarding pass. Values are defined in Resolution 792. Spaces indicate the field is not set.
pub fn date_of_issue_of_boarding_pass(&self) -> Option<&str>
[src]
Optionally the 4-digit Julian date representing when the boarding pass was issued. The first digit is the last digit of the year and the next three represent the number of days elapsed. For example: "6001" represents January 1, 2016. "6366" represents December 31, 2016 (a leap year). Spaces indicate the field is not set.
pub fn document_type(&self) -> Option<char>
[src]
The type of the document, 'B' indicating a boarding pass. Spaces indicate the field is not set.
pub fn airline_designator_of_boarding_pass_issuer(&self) -> Option<&str>
[src]
Airline code of the boarding pass issuer. Two-character and three-letter IATA carrier designators are permitted and the string is left-justified and space padded. Spaces indicate the field is not set.
pub fn baggage_tag_license_plate_numbers(&self) -> Option<&str>
[src]
This field allows carriers to populate baggage tag numbers and the number of consecutive bags. This 13-character fiels is divided into: 0: '0' for interline tag, '1' for fall-back tag, '2' for interline rush tag. 2... 4: carrier numeric code. 5...10: carrier initial tag number with leading zeroes. 11...13: number of consecutive bags (up to 999). Spaces indicate the field is not set.
pub fn first_non_consecutive_baggage_tag_license_plate_numbers(
&self
) -> Option<&str>
[src]
&self
) -> Option<&str>
This field allows carriers who handle non-sequential bags to include a second set of them
in the boarding pass data in in the same format as baggage_tag_license_plate_numbers
.
Spaces indicate the field is not set.
pub fn second_non_consecutive_baggage_tag_license_plate_numbers(
&self
) -> Option<&str>
[src]
&self
) -> Option<&str>
This field allows carriers who handle non-sequential bags to include a third set of them
in the boarding pass data in in the same format as baggage_tag_license_plate_numbers
.
Spaces indicate the field is not set.
Trait Implementations
impl Clone for Bcbp
[src]
impl Default for Bcbp
[src]
impl Eq for Bcbp
[src]
impl PartialEq<Bcbp> for Bcbp
[src]
impl Debug for Bcbp
[src]
impl FromStr for Bcbp
[src]
type Err = Error
The associated error which can be returned from parsing.
fn from_str(input: &str) -> Result<Self>
[src]
impl Hash for Bcbp
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl StructuralPartialEq for Bcbp
[src]
impl StructuralEq for Bcbp
[src]
Auto Trait Implementations
impl Send for Bcbp
impl Sync for Bcbp
impl Unpin for Bcbp
impl UnwindSafe for Bcbp
impl RefUnwindSafe for Bcbp
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,