Trait schema_org_types::AirlineTrait
source · pub trait AirlineTrait {
// Required methods
fn get_boarding_policy(&self) -> &[BoardingPolicyProperty];
fn take_boarding_policy(&mut self) -> Vec<BoardingPolicyProperty>;
fn get_iata_code(&self) -> &[IataCodeProperty];
fn take_iata_code(&mut self) -> Vec<IataCodeProperty>;
}
Expand description
This trait is for properties from https://schema.org/Airline.
Required Methods§
sourcefn get_boarding_policy(&self) -> &[BoardingPolicyProperty]
fn get_boarding_policy(&self) -> &[BoardingPolicyProperty]
Get https://schema.org/boardingPolicy from Self
as borrowed slice.
sourcefn take_boarding_policy(&mut self) -> Vec<BoardingPolicyProperty>
fn take_boarding_policy(&mut self) -> Vec<BoardingPolicyProperty>
Take https://schema.org/boardingPolicy from Self
as owned vector.
sourcefn get_iata_code(&self) -> &[IataCodeProperty]
fn get_iata_code(&self) -> &[IataCodeProperty]
Get https://schema.org/iataCode from Self
as borrowed slice.
sourcefn take_iata_code(&mut self) -> Vec<IataCodeProperty>
fn take_iata_code(&mut self) -> Vec<IataCodeProperty>
Take https://schema.org/iataCode from Self
as owned vector.