Struct schema_org_types::Ticket
source · pub struct Ticket {Show 20 fields
pub date_issued: Vec<DateIssuedProperty>,
pub issued_by: Vec<IssuedByProperty>,
pub price_currency: Vec<PriceCurrencyProperty>,
pub ticket_number: Vec<TicketNumberProperty>,
pub ticket_token: Vec<TicketTokenProperty>,
pub ticketed_seat: Vec<TicketedSeatProperty>,
pub total_price: Vec<TotalPriceProperty>,
pub under_name: Vec<UnderNameProperty>,
pub additional_type: Vec<AdditionalTypeProperty>,
pub alternate_name: Vec<AlternateNameProperty>,
pub description: Vec<DescriptionProperty>,
pub disambiguating_description: Vec<DisambiguatingDescriptionProperty>,
pub identifier: Vec<IdentifierProperty>,
pub image: Vec<ImageProperty>,
pub main_entity_of_page: Vec<MainEntityOfPageProperty>,
pub name: Vec<NameProperty>,
pub potential_action: Vec<PotentialActionProperty>,
pub same_as: Vec<SameAsProperty>,
pub subject_of: Vec<SubjectOfProperty>,
pub url: Vec<UrlProperty>,
}
Expand description
Fields§
§date_issued: Vec<DateIssuedProperty>
§issued_by: Vec<IssuedByProperty>
§price_currency: Vec<PriceCurrencyProperty>
§ticket_number: Vec<TicketNumberProperty>
§ticket_token: Vec<TicketTokenProperty>
§ticketed_seat: Vec<TicketedSeatProperty>
§total_price: Vec<TotalPriceProperty>
§under_name: Vec<UnderNameProperty>
§additional_type: Vec<AdditionalTypeProperty>
§alternate_name: Vec<AlternateNameProperty>
§description: Vec<DescriptionProperty>
§disambiguating_description: Vec<DisambiguatingDescriptionProperty>
§identifier: Vec<IdentifierProperty>
§image: Vec<ImageProperty>
§main_entity_of_page: Vec<MainEntityOfPageProperty>
§name: Vec<NameProperty>
§potential_action: Vec<PotentialActionProperty>
§same_as: Vec<SameAsProperty>
§subject_of: Vec<SubjectOfProperty>
§url: Vec<UrlProperty>
Trait Implementations§
source§impl ThingTrait for Ticket
impl ThingTrait for Ticket
source§fn get_additional_type(&self) -> &[AdditionalTypeProperty]
fn get_additional_type(&self) -> &[AdditionalTypeProperty]
Get https://schema.org/additionalType from
Self
as borrowed slice.source§fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
fn take_additional_type(&mut self) -> Vec<AdditionalTypeProperty>
Take https://schema.org/additionalType from
Self
as owned vector.source§fn get_alternate_name(&self) -> &[AlternateNameProperty]
fn get_alternate_name(&self) -> &[AlternateNameProperty]
Get https://schema.org/alternateName from
Self
as borrowed slice.source§fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
fn take_alternate_name(&mut self) -> Vec<AlternateNameProperty>
Take https://schema.org/alternateName from
Self
as owned vector.source§fn get_description(&self) -> &[DescriptionProperty]
fn get_description(&self) -> &[DescriptionProperty]
Get https://schema.org/description from
Self
as borrowed slice.source§fn take_description(&mut self) -> Vec<DescriptionProperty>
fn take_description(&mut self) -> Vec<DescriptionProperty>
Take https://schema.org/description from
Self
as owned vector.source§fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
fn get_disambiguating_description(&self) -> &[DisambiguatingDescriptionProperty]
Get https://schema.org/disambiguatingDescription from
Self
as borrowed slice.source§fn take_disambiguating_description(
&mut self
) -> Vec<DisambiguatingDescriptionProperty>
fn take_disambiguating_description( &mut self ) -> Vec<DisambiguatingDescriptionProperty>
Take https://schema.org/disambiguatingDescription from
Self
as owned vector.source§fn get_identifier(&self) -> &[IdentifierProperty]
fn get_identifier(&self) -> &[IdentifierProperty]
Get https://schema.org/identifier from
Self
as borrowed slice.source§fn take_identifier(&mut self) -> Vec<IdentifierProperty>
fn take_identifier(&mut self) -> Vec<IdentifierProperty>
Take https://schema.org/identifier from
Self
as owned vector.source§fn get_image(&self) -> &[ImageProperty]
fn get_image(&self) -> &[ImageProperty]
Get https://schema.org/image from
Self
as borrowed slice.source§fn take_image(&mut self) -> Vec<ImageProperty>
fn take_image(&mut self) -> Vec<ImageProperty>
Take https://schema.org/image from
Self
as owned vector.source§fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
fn get_main_entity_of_page(&self) -> &[MainEntityOfPageProperty]
Get https://schema.org/mainEntityOfPage from
Self
as borrowed slice.source§fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
fn take_main_entity_of_page(&mut self) -> Vec<MainEntityOfPageProperty>
Take https://schema.org/mainEntityOfPage from
Self
as owned vector.source§fn get_name(&self) -> &[NameProperty]
fn get_name(&self) -> &[NameProperty]
Get https://schema.org/name from
Self
as borrowed slice.source§fn take_name(&mut self) -> Vec<NameProperty>
fn take_name(&mut self) -> Vec<NameProperty>
Take https://schema.org/name from
Self
as owned vector.source§fn get_potential_action(&self) -> &[PotentialActionProperty]
fn get_potential_action(&self) -> &[PotentialActionProperty]
Get https://schema.org/potentialAction from
Self
as borrowed slice.source§fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
fn take_potential_action(&mut self) -> Vec<PotentialActionProperty>
Take https://schema.org/potentialAction from
Self
as owned vector.source§fn get_same_as(&self) -> &[SameAsProperty]
fn get_same_as(&self) -> &[SameAsProperty]
Get https://schema.org/sameAs from
Self
as borrowed slice.source§fn take_same_as(&mut self) -> Vec<SameAsProperty>
fn take_same_as(&mut self) -> Vec<SameAsProperty>
Take https://schema.org/sameAs from
Self
as owned vector.source§fn get_subject_of(&self) -> &[SubjectOfProperty]
fn get_subject_of(&self) -> &[SubjectOfProperty]
Get https://schema.org/subjectOf from
Self
as borrowed slice.source§fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
fn take_subject_of(&mut self) -> Vec<SubjectOfProperty>
Take https://schema.org/subjectOf from
Self
as owned vector.source§fn get_url(&self) -> &[UrlProperty]
fn get_url(&self) -> &[UrlProperty]
Get https://schema.org/url from
Self
as borrowed slice.source§fn take_url(&mut self) -> Vec<UrlProperty>
fn take_url(&mut self) -> Vec<UrlProperty>
Take https://schema.org/url from
Self
as owned vector.source§impl TicketTrait for Ticket
impl TicketTrait for Ticket
source§fn get_date_issued(&self) -> &[DateIssuedProperty]
fn get_date_issued(&self) -> &[DateIssuedProperty]
Get https://schema.org/dateIssued from
Self
as borrowed slice.source§fn take_date_issued(&mut self) -> Vec<DateIssuedProperty>
fn take_date_issued(&mut self) -> Vec<DateIssuedProperty>
Take https://schema.org/dateIssued from
Self
as owned vector.source§fn get_issued_by(&self) -> &[IssuedByProperty]
fn get_issued_by(&self) -> &[IssuedByProperty]
Get https://schema.org/issuedBy from
Self
as borrowed slice.source§fn take_issued_by(&mut self) -> Vec<IssuedByProperty>
fn take_issued_by(&mut self) -> Vec<IssuedByProperty>
Take https://schema.org/issuedBy from
Self
as owned vector.source§fn get_price_currency(&self) -> &[PriceCurrencyProperty]
fn get_price_currency(&self) -> &[PriceCurrencyProperty]
Get https://schema.org/priceCurrency from
Self
as borrowed slice.source§fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>
fn take_price_currency(&mut self) -> Vec<PriceCurrencyProperty>
Take https://schema.org/priceCurrency from
Self
as owned vector.source§fn get_ticket_number(&self) -> &[TicketNumberProperty]
fn get_ticket_number(&self) -> &[TicketNumberProperty]
Get https://schema.org/ticketNumber from
Self
as borrowed slice.source§fn take_ticket_number(&mut self) -> Vec<TicketNumberProperty>
fn take_ticket_number(&mut self) -> Vec<TicketNumberProperty>
Take https://schema.org/ticketNumber from
Self
as owned vector.source§fn get_ticket_token(&self) -> &[TicketTokenProperty]
fn get_ticket_token(&self) -> &[TicketTokenProperty]
Get https://schema.org/ticketToken from
Self
as borrowed slice.source§fn take_ticket_token(&mut self) -> Vec<TicketTokenProperty>
fn take_ticket_token(&mut self) -> Vec<TicketTokenProperty>
Take https://schema.org/ticketToken from
Self
as owned vector.source§fn get_ticketed_seat(&self) -> &[TicketedSeatProperty]
fn get_ticketed_seat(&self) -> &[TicketedSeatProperty]
Get https://schema.org/ticketedSeat from
Self
as borrowed slice.source§fn take_ticketed_seat(&mut self) -> Vec<TicketedSeatProperty>
fn take_ticketed_seat(&mut self) -> Vec<TicketedSeatProperty>
Take https://schema.org/ticketedSeat from
Self
as owned vector.source§fn get_total_price(&self) -> &[TotalPriceProperty]
fn get_total_price(&self) -> &[TotalPriceProperty]
Get https://schema.org/totalPrice from
Self
as borrowed slice.source§fn take_total_price(&mut self) -> Vec<TotalPriceProperty>
fn take_total_price(&mut self) -> Vec<TotalPriceProperty>
Take https://schema.org/totalPrice from
Self
as owned vector.source§fn get_under_name(&self) -> &[UnderNameProperty]
fn get_under_name(&self) -> &[UnderNameProperty]
Get https://schema.org/underName from
Self
as borrowed slice.source§fn take_under_name(&mut self) -> Vec<UnderNameProperty>
fn take_under_name(&mut self) -> Vec<UnderNameProperty>
Take https://schema.org/underName from
Self
as owned vector.Auto Trait Implementations§
impl RefUnwindSafe for Ticket
impl Send for Ticket
impl Sync for Ticket
impl Unpin for Ticket
impl UnwindSafe for Ticket
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more