Trait schema_org_types::SeatTrait
source · pub trait SeatTrait {
// Required methods
fn get_seat_number(&self) -> &[SeatNumberProperty];
fn take_seat_number(&mut self) -> Vec<SeatNumberProperty>;
fn get_seat_row(&self) -> &[SeatRowProperty];
fn take_seat_row(&mut self) -> Vec<SeatRowProperty>;
fn get_seat_section(&self) -> &[SeatSectionProperty];
fn take_seat_section(&mut self) -> Vec<SeatSectionProperty>;
fn get_seating_type(&self) -> &[SeatingTypeProperty];
fn take_seating_type(&mut self) -> Vec<SeatingTypeProperty>;
}
Expand description
This trait is for properties from https://schema.org/Seat.
Required Methods§
sourcefn get_seat_number(&self) -> &[SeatNumberProperty]
fn get_seat_number(&self) -> &[SeatNumberProperty]
Get https://schema.org/seatNumber from Self
as borrowed slice.
sourcefn take_seat_number(&mut self) -> Vec<SeatNumberProperty>
fn take_seat_number(&mut self) -> Vec<SeatNumberProperty>
Take https://schema.org/seatNumber from Self
as owned vector.
sourcefn get_seat_row(&self) -> &[SeatRowProperty]
fn get_seat_row(&self) -> &[SeatRowProperty]
Get https://schema.org/seatRow from Self
as borrowed slice.
sourcefn take_seat_row(&mut self) -> Vec<SeatRowProperty>
fn take_seat_row(&mut self) -> Vec<SeatRowProperty>
Take https://schema.org/seatRow from Self
as owned vector.
sourcefn get_seat_section(&self) -> &[SeatSectionProperty]
fn get_seat_section(&self) -> &[SeatSectionProperty]
Get https://schema.org/seatSection from Self
as borrowed slice.
sourcefn take_seat_section(&mut self) -> Vec<SeatSectionProperty>
fn take_seat_section(&mut self) -> Vec<SeatSectionProperty>
Take https://schema.org/seatSection from Self
as owned vector.
sourcefn get_seating_type(&self) -> &[SeatingTypeProperty]
fn get_seating_type(&self) -> &[SeatingTypeProperty]
Get https://schema.org/seatingType from Self
as borrowed slice.
sourcefn take_seating_type(&mut self) -> Vec<SeatingTypeProperty>
fn take_seating_type(&mut self) -> Vec<SeatingTypeProperty>
Take https://schema.org/seatingType from Self
as owned vector.