Trait schema_org_types::EventTrait
source · pub trait EventTrait {
Show 82 methods
// Required methods
fn get_about(&self) -> &[AboutProperty];
fn take_about(&mut self) -> Vec<AboutProperty>;
fn get_actor(&self) -> &[ActorProperty];
fn take_actor(&mut self) -> Vec<ActorProperty>;
fn get_aggregate_rating(&self) -> &[AggregateRatingProperty];
fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>;
fn get_attendee(&self) -> &[AttendeeProperty];
fn take_attendee(&mut self) -> Vec<AttendeeProperty>;
fn get_attendees(&self) -> &[AttendeesProperty];
fn take_attendees(&mut self) -> Vec<AttendeesProperty>;
fn get_audience(&self) -> &[AudienceProperty];
fn take_audience(&mut self) -> Vec<AudienceProperty>;
fn get_composer(&self) -> &[ComposerProperty];
fn take_composer(&mut self) -> Vec<ComposerProperty>;
fn get_contributor(&self) -> &[ContributorProperty];
fn take_contributor(&mut self) -> Vec<ContributorProperty>;
fn get_director(&self) -> &[DirectorProperty];
fn take_director(&mut self) -> Vec<DirectorProperty>;
fn get_door_time(&self) -> &[DoorTimeProperty];
fn take_door_time(&mut self) -> Vec<DoorTimeProperty>;
fn get_duration(&self) -> &[DurationProperty];
fn take_duration(&mut self) -> Vec<DurationProperty>;
fn get_end_date(&self) -> &[EndDateProperty];
fn take_end_date(&mut self) -> Vec<EndDateProperty>;
fn get_event_attendance_mode(&self) -> &[EventAttendanceModeProperty];
fn take_event_attendance_mode(&mut self) -> Vec<EventAttendanceModeProperty>;
fn get_event_schedule(&self) -> &[EventScheduleProperty];
fn take_event_schedule(&mut self) -> Vec<EventScheduleProperty>;
fn get_event_status(&self) -> &[EventStatusProperty];
fn take_event_status(&mut self) -> Vec<EventStatusProperty>;
fn get_funder(&self) -> &[FunderProperty];
fn take_funder(&mut self) -> Vec<FunderProperty>;
fn get_funding(&self) -> &[FundingProperty];
fn take_funding(&mut self) -> Vec<FundingProperty>;
fn get_in_language(&self) -> &[InLanguageProperty];
fn take_in_language(&mut self) -> Vec<InLanguageProperty>;
fn get_is_accessible_for_free(&self) -> &[IsAccessibleForFreeProperty];
fn take_is_accessible_for_free(
&mut self
) -> Vec<IsAccessibleForFreeProperty>;
fn get_keywords(&self) -> &[KeywordsProperty];
fn take_keywords(&mut self) -> Vec<KeywordsProperty>;
fn get_location(&self) -> &[LocationProperty];
fn take_location(&mut self) -> Vec<LocationProperty>;
fn get_maximum_attendee_capacity(
&self
) -> &[MaximumAttendeeCapacityProperty];
fn take_maximum_attendee_capacity(
&mut self
) -> Vec<MaximumAttendeeCapacityProperty>;
fn get_maximum_physical_attendee_capacity(
&self
) -> &[MaximumPhysicalAttendeeCapacityProperty];
fn take_maximum_physical_attendee_capacity(
&mut self
) -> Vec<MaximumPhysicalAttendeeCapacityProperty>;
fn get_maximum_virtual_attendee_capacity(
&self
) -> &[MaximumVirtualAttendeeCapacityProperty];
fn take_maximum_virtual_attendee_capacity(
&mut self
) -> Vec<MaximumVirtualAttendeeCapacityProperty>;
fn get_offers(&self) -> &[OffersProperty];
fn take_offers(&mut self) -> Vec<OffersProperty>;
fn get_organizer(&self) -> &[OrganizerProperty];
fn take_organizer(&mut self) -> Vec<OrganizerProperty>;
fn get_performer(&self) -> &[PerformerProperty];
fn take_performer(&mut self) -> Vec<PerformerProperty>;
fn get_performers(&self) -> &[PerformersProperty];
fn take_performers(&mut self) -> Vec<PerformersProperty>;
fn get_previous_start_date(&self) -> &[PreviousStartDateProperty];
fn take_previous_start_date(&mut self) -> Vec<PreviousStartDateProperty>;
fn get_recorded_in(&self) -> &[RecordedInProperty];
fn take_recorded_in(&mut self) -> Vec<RecordedInProperty>;
fn get_remaining_attendee_capacity(
&self
) -> &[RemainingAttendeeCapacityProperty];
fn take_remaining_attendee_capacity(
&mut self
) -> Vec<RemainingAttendeeCapacityProperty>;
fn get_review(&self) -> &[ReviewProperty];
fn take_review(&mut self) -> Vec<ReviewProperty>;
fn get_sponsor(&self) -> &[SponsorProperty];
fn take_sponsor(&mut self) -> Vec<SponsorProperty>;
fn get_start_date(&self) -> &[StartDateProperty];
fn take_start_date(&mut self) -> Vec<StartDateProperty>;
fn get_sub_event(&self) -> &[SubEventProperty];
fn take_sub_event(&mut self) -> Vec<SubEventProperty>;
fn get_sub_events(&self) -> &[SubEventsProperty];
fn take_sub_events(&mut self) -> Vec<SubEventsProperty>;
fn get_super_event(&self) -> &[SuperEventProperty];
fn take_super_event(&mut self) -> Vec<SuperEventProperty>;
fn get_translator(&self) -> &[TranslatorProperty];
fn take_translator(&mut self) -> Vec<TranslatorProperty>;
fn get_typical_age_range(&self) -> &[TypicalAgeRangeProperty];
fn take_typical_age_range(&mut self) -> Vec<TypicalAgeRangeProperty>;
fn get_work_featured(&self) -> &[WorkFeaturedProperty];
fn take_work_featured(&mut self) -> Vec<WorkFeaturedProperty>;
fn get_work_performed(&self) -> &[WorkPerformedProperty];
fn take_work_performed(&mut self) -> Vec<WorkPerformedProperty>;
}
Expand description
This trait is for properties from https://schema.org/Event.
Required Methods§
sourcefn get_about(&self) -> &[AboutProperty]
fn get_about(&self) -> &[AboutProperty]
Get https://schema.org/about from Self
as borrowed slice.
sourcefn take_about(&mut self) -> Vec<AboutProperty>
fn take_about(&mut self) -> Vec<AboutProperty>
Take https://schema.org/about from Self
as owned vector.
sourcefn get_actor(&self) -> &[ActorProperty]
fn get_actor(&self) -> &[ActorProperty]
Get https://schema.org/actor from Self
as borrowed slice.
sourcefn take_actor(&mut self) -> Vec<ActorProperty>
fn take_actor(&mut self) -> Vec<ActorProperty>
Take https://schema.org/actor from Self
as owned vector.
sourcefn get_aggregate_rating(&self) -> &[AggregateRatingProperty]
fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]
Get https://schema.org/aggregateRating from Self
as borrowed slice.
sourcefn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>
fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>
Take https://schema.org/aggregateRating from Self
as owned vector.
sourcefn get_attendee(&self) -> &[AttendeeProperty]
fn get_attendee(&self) -> &[AttendeeProperty]
Get https://schema.org/attendee from Self
as borrowed slice.
sourcefn take_attendee(&mut self) -> Vec<AttendeeProperty>
fn take_attendee(&mut self) -> Vec<AttendeeProperty>
Take https://schema.org/attendee from Self
as owned vector.
sourcefn get_attendees(&self) -> &[AttendeesProperty]
fn get_attendees(&self) -> &[AttendeesProperty]
Get https://schema.org/attendees from Self
as borrowed slice.
sourcefn take_attendees(&mut self) -> Vec<AttendeesProperty>
fn take_attendees(&mut self) -> Vec<AttendeesProperty>
Take https://schema.org/attendees from Self
as owned vector.
sourcefn get_audience(&self) -> &[AudienceProperty]
fn get_audience(&self) -> &[AudienceProperty]
Get https://schema.org/audience from Self
as borrowed slice.
sourcefn take_audience(&mut self) -> Vec<AudienceProperty>
fn take_audience(&mut self) -> Vec<AudienceProperty>
Take https://schema.org/audience from Self
as owned vector.
sourcefn get_composer(&self) -> &[ComposerProperty]
fn get_composer(&self) -> &[ComposerProperty]
Get https://schema.org/composer from Self
as borrowed slice.
sourcefn take_composer(&mut self) -> Vec<ComposerProperty>
fn take_composer(&mut self) -> Vec<ComposerProperty>
Take https://schema.org/composer from Self
as owned vector.
sourcefn get_contributor(&self) -> &[ContributorProperty]
fn get_contributor(&self) -> &[ContributorProperty]
Get https://schema.org/contributor from Self
as borrowed slice.
sourcefn take_contributor(&mut self) -> Vec<ContributorProperty>
fn take_contributor(&mut self) -> Vec<ContributorProperty>
Take https://schema.org/contributor from Self
as owned vector.
sourcefn get_director(&self) -> &[DirectorProperty]
fn get_director(&self) -> &[DirectorProperty]
Get https://schema.org/director from Self
as borrowed slice.
sourcefn take_director(&mut self) -> Vec<DirectorProperty>
fn take_director(&mut self) -> Vec<DirectorProperty>
Take https://schema.org/director from Self
as owned vector.
sourcefn get_door_time(&self) -> &[DoorTimeProperty]
fn get_door_time(&self) -> &[DoorTimeProperty]
Get https://schema.org/doorTime from Self
as borrowed slice.
sourcefn take_door_time(&mut self) -> Vec<DoorTimeProperty>
fn take_door_time(&mut self) -> Vec<DoorTimeProperty>
Take https://schema.org/doorTime from Self
as owned vector.
sourcefn get_duration(&self) -> &[DurationProperty]
fn get_duration(&self) -> &[DurationProperty]
Get https://schema.org/duration from Self
as borrowed slice.
sourcefn take_duration(&mut self) -> Vec<DurationProperty>
fn take_duration(&mut self) -> Vec<DurationProperty>
Take https://schema.org/duration from Self
as owned vector.
sourcefn get_end_date(&self) -> &[EndDateProperty]
fn get_end_date(&self) -> &[EndDateProperty]
Get https://schema.org/endDate from Self
as borrowed slice.
sourcefn take_end_date(&mut self) -> Vec<EndDateProperty>
fn take_end_date(&mut self) -> Vec<EndDateProperty>
Take https://schema.org/endDate from Self
as owned vector.
sourcefn get_event_attendance_mode(&self) -> &[EventAttendanceModeProperty]
fn get_event_attendance_mode(&self) -> &[EventAttendanceModeProperty]
Get https://schema.org/eventAttendanceMode from Self
as borrowed slice.
sourcefn take_event_attendance_mode(&mut self) -> Vec<EventAttendanceModeProperty>
fn take_event_attendance_mode(&mut self) -> Vec<EventAttendanceModeProperty>
Take https://schema.org/eventAttendanceMode from Self
as owned vector.
sourcefn get_event_schedule(&self) -> &[EventScheduleProperty]
fn get_event_schedule(&self) -> &[EventScheduleProperty]
Get https://schema.org/eventSchedule from Self
as borrowed slice.
sourcefn take_event_schedule(&mut self) -> Vec<EventScheduleProperty>
fn take_event_schedule(&mut self) -> Vec<EventScheduleProperty>
Take https://schema.org/eventSchedule from Self
as owned vector.
sourcefn get_event_status(&self) -> &[EventStatusProperty]
fn get_event_status(&self) -> &[EventStatusProperty]
Get https://schema.org/eventStatus from Self
as borrowed slice.
sourcefn take_event_status(&mut self) -> Vec<EventStatusProperty>
fn take_event_status(&mut self) -> Vec<EventStatusProperty>
Take https://schema.org/eventStatus from Self
as owned vector.
sourcefn get_funder(&self) -> &[FunderProperty]
fn get_funder(&self) -> &[FunderProperty]
Get https://schema.org/funder from Self
as borrowed slice.
sourcefn take_funder(&mut self) -> Vec<FunderProperty>
fn take_funder(&mut self) -> Vec<FunderProperty>
Take https://schema.org/funder from Self
as owned vector.
sourcefn get_funding(&self) -> &[FundingProperty]
fn get_funding(&self) -> &[FundingProperty]
Get https://schema.org/funding from Self
as borrowed slice.
sourcefn take_funding(&mut self) -> Vec<FundingProperty>
fn take_funding(&mut self) -> Vec<FundingProperty>
Take https://schema.org/funding from Self
as owned vector.
sourcefn get_in_language(&self) -> &[InLanguageProperty]
fn get_in_language(&self) -> &[InLanguageProperty]
Get https://schema.org/inLanguage from Self
as borrowed slice.
sourcefn take_in_language(&mut self) -> Vec<InLanguageProperty>
fn take_in_language(&mut self) -> Vec<InLanguageProperty>
Take https://schema.org/inLanguage from Self
as owned vector.
sourcefn get_is_accessible_for_free(&self) -> &[IsAccessibleForFreeProperty]
fn get_is_accessible_for_free(&self) -> &[IsAccessibleForFreeProperty]
Get https://schema.org/isAccessibleForFree from Self
as borrowed slice.
sourcefn take_is_accessible_for_free(&mut self) -> Vec<IsAccessibleForFreeProperty>
fn take_is_accessible_for_free(&mut self) -> Vec<IsAccessibleForFreeProperty>
Take https://schema.org/isAccessibleForFree from Self
as owned vector.
sourcefn get_keywords(&self) -> &[KeywordsProperty]
fn get_keywords(&self) -> &[KeywordsProperty]
Get https://schema.org/keywords from Self
as borrowed slice.
sourcefn take_keywords(&mut self) -> Vec<KeywordsProperty>
fn take_keywords(&mut self) -> Vec<KeywordsProperty>
Take https://schema.org/keywords from Self
as owned vector.
sourcefn get_location(&self) -> &[LocationProperty]
fn get_location(&self) -> &[LocationProperty]
Get https://schema.org/location from Self
as borrowed slice.
sourcefn take_location(&mut self) -> Vec<LocationProperty>
fn take_location(&mut self) -> Vec<LocationProperty>
Take https://schema.org/location from Self
as owned vector.
sourcefn get_maximum_attendee_capacity(&self) -> &[MaximumAttendeeCapacityProperty]
fn get_maximum_attendee_capacity(&self) -> &[MaximumAttendeeCapacityProperty]
Get https://schema.org/maximumAttendeeCapacity from Self
as borrowed slice.
sourcefn take_maximum_attendee_capacity(
&mut self
) -> Vec<MaximumAttendeeCapacityProperty>
fn take_maximum_attendee_capacity( &mut self ) -> Vec<MaximumAttendeeCapacityProperty>
Take https://schema.org/maximumAttendeeCapacity from Self
as owned vector.
sourcefn get_maximum_physical_attendee_capacity(
&self
) -> &[MaximumPhysicalAttendeeCapacityProperty]
fn get_maximum_physical_attendee_capacity( &self ) -> &[MaximumPhysicalAttendeeCapacityProperty]
Get https://schema.org/maximumPhysicalAttendeeCapacity from Self
as borrowed slice.
sourcefn take_maximum_physical_attendee_capacity(
&mut self
) -> Vec<MaximumPhysicalAttendeeCapacityProperty>
fn take_maximum_physical_attendee_capacity( &mut self ) -> Vec<MaximumPhysicalAttendeeCapacityProperty>
Take https://schema.org/maximumPhysicalAttendeeCapacity from Self
as owned vector.
sourcefn get_maximum_virtual_attendee_capacity(
&self
) -> &[MaximumVirtualAttendeeCapacityProperty]
fn get_maximum_virtual_attendee_capacity( &self ) -> &[MaximumVirtualAttendeeCapacityProperty]
Get https://schema.org/maximumVirtualAttendeeCapacity from Self
as borrowed slice.
sourcefn take_maximum_virtual_attendee_capacity(
&mut self
) -> Vec<MaximumVirtualAttendeeCapacityProperty>
fn take_maximum_virtual_attendee_capacity( &mut self ) -> Vec<MaximumVirtualAttendeeCapacityProperty>
Take https://schema.org/maximumVirtualAttendeeCapacity from Self
as owned vector.
sourcefn get_offers(&self) -> &[OffersProperty]
fn get_offers(&self) -> &[OffersProperty]
Get https://schema.org/offers from Self
as borrowed slice.
sourcefn take_offers(&mut self) -> Vec<OffersProperty>
fn take_offers(&mut self) -> Vec<OffersProperty>
Take https://schema.org/offers from Self
as owned vector.
sourcefn get_organizer(&self) -> &[OrganizerProperty]
fn get_organizer(&self) -> &[OrganizerProperty]
Get https://schema.org/organizer from Self
as borrowed slice.
sourcefn take_organizer(&mut self) -> Vec<OrganizerProperty>
fn take_organizer(&mut self) -> Vec<OrganizerProperty>
Take https://schema.org/organizer from Self
as owned vector.
sourcefn get_performer(&self) -> &[PerformerProperty]
fn get_performer(&self) -> &[PerformerProperty]
Get https://schema.org/performer from Self
as borrowed slice.
sourcefn take_performer(&mut self) -> Vec<PerformerProperty>
fn take_performer(&mut self) -> Vec<PerformerProperty>
Take https://schema.org/performer from Self
as owned vector.
sourcefn get_performers(&self) -> &[PerformersProperty]
fn get_performers(&self) -> &[PerformersProperty]
Get https://schema.org/performers from Self
as borrowed slice.
sourcefn take_performers(&mut self) -> Vec<PerformersProperty>
fn take_performers(&mut self) -> Vec<PerformersProperty>
Take https://schema.org/performers from Self
as owned vector.
sourcefn get_previous_start_date(&self) -> &[PreviousStartDateProperty]
fn get_previous_start_date(&self) -> &[PreviousStartDateProperty]
Get https://schema.org/previousStartDate from Self
as borrowed slice.
sourcefn take_previous_start_date(&mut self) -> Vec<PreviousStartDateProperty>
fn take_previous_start_date(&mut self) -> Vec<PreviousStartDateProperty>
Take https://schema.org/previousStartDate from Self
as owned vector.
sourcefn get_recorded_in(&self) -> &[RecordedInProperty]
fn get_recorded_in(&self) -> &[RecordedInProperty]
Get https://schema.org/recordedIn from Self
as borrowed slice.
sourcefn take_recorded_in(&mut self) -> Vec<RecordedInProperty>
fn take_recorded_in(&mut self) -> Vec<RecordedInProperty>
Take https://schema.org/recordedIn from Self
as owned vector.
sourcefn get_remaining_attendee_capacity(
&self
) -> &[RemainingAttendeeCapacityProperty]
fn get_remaining_attendee_capacity( &self ) -> &[RemainingAttendeeCapacityProperty]
Get https://schema.org/remainingAttendeeCapacity from Self
as borrowed slice.
sourcefn take_remaining_attendee_capacity(
&mut self
) -> Vec<RemainingAttendeeCapacityProperty>
fn take_remaining_attendee_capacity( &mut self ) -> Vec<RemainingAttendeeCapacityProperty>
Take https://schema.org/remainingAttendeeCapacity from Self
as owned vector.
sourcefn get_review(&self) -> &[ReviewProperty]
fn get_review(&self) -> &[ReviewProperty]
Get https://schema.org/review from Self
as borrowed slice.
sourcefn take_review(&mut self) -> Vec<ReviewProperty>
fn take_review(&mut self) -> Vec<ReviewProperty>
Take https://schema.org/review from Self
as owned vector.
sourcefn get_sponsor(&self) -> &[SponsorProperty]
fn get_sponsor(&self) -> &[SponsorProperty]
Get https://schema.org/sponsor from Self
as borrowed slice.
sourcefn take_sponsor(&mut self) -> Vec<SponsorProperty>
fn take_sponsor(&mut self) -> Vec<SponsorProperty>
Take https://schema.org/sponsor from Self
as owned vector.
sourcefn get_start_date(&self) -> &[StartDateProperty]
fn get_start_date(&self) -> &[StartDateProperty]
Get https://schema.org/startDate from Self
as borrowed slice.
sourcefn take_start_date(&mut self) -> Vec<StartDateProperty>
fn take_start_date(&mut self) -> Vec<StartDateProperty>
Take https://schema.org/startDate from Self
as owned vector.
sourcefn get_sub_event(&self) -> &[SubEventProperty]
fn get_sub_event(&self) -> &[SubEventProperty]
Get https://schema.org/subEvent from Self
as borrowed slice.
sourcefn take_sub_event(&mut self) -> Vec<SubEventProperty>
fn take_sub_event(&mut self) -> Vec<SubEventProperty>
Take https://schema.org/subEvent from Self
as owned vector.
sourcefn get_sub_events(&self) -> &[SubEventsProperty]
fn get_sub_events(&self) -> &[SubEventsProperty]
Get https://schema.org/subEvents from Self
as borrowed slice.
sourcefn take_sub_events(&mut self) -> Vec<SubEventsProperty>
fn take_sub_events(&mut self) -> Vec<SubEventsProperty>
Take https://schema.org/subEvents from Self
as owned vector.
sourcefn get_super_event(&self) -> &[SuperEventProperty]
fn get_super_event(&self) -> &[SuperEventProperty]
Get https://schema.org/superEvent from Self
as borrowed slice.
sourcefn take_super_event(&mut self) -> Vec<SuperEventProperty>
fn take_super_event(&mut self) -> Vec<SuperEventProperty>
Take https://schema.org/superEvent from Self
as owned vector.
sourcefn get_translator(&self) -> &[TranslatorProperty]
fn get_translator(&self) -> &[TranslatorProperty]
Get https://schema.org/translator from Self
as borrowed slice.
sourcefn take_translator(&mut self) -> Vec<TranslatorProperty>
fn take_translator(&mut self) -> Vec<TranslatorProperty>
Take https://schema.org/translator from Self
as owned vector.
sourcefn get_typical_age_range(&self) -> &[TypicalAgeRangeProperty]
fn get_typical_age_range(&self) -> &[TypicalAgeRangeProperty]
Get https://schema.org/typicalAgeRange from Self
as borrowed slice.
sourcefn take_typical_age_range(&mut self) -> Vec<TypicalAgeRangeProperty>
fn take_typical_age_range(&mut self) -> Vec<TypicalAgeRangeProperty>
Take https://schema.org/typicalAgeRange from Self
as owned vector.
sourcefn get_work_featured(&self) -> &[WorkFeaturedProperty]
fn get_work_featured(&self) -> &[WorkFeaturedProperty]
Get https://schema.org/workFeatured from Self
as borrowed slice.
sourcefn take_work_featured(&mut self) -> Vec<WorkFeaturedProperty>
fn take_work_featured(&mut self) -> Vec<WorkFeaturedProperty>
Take https://schema.org/workFeatured from Self
as owned vector.
sourcefn get_work_performed(&self) -> &[WorkPerformedProperty]
fn get_work_performed(&self) -> &[WorkPerformedProperty]
Get https://schema.org/workPerformed from Self
as borrowed slice.
sourcefn take_work_performed(&mut self) -> Vec<WorkPerformedProperty>
fn take_work_performed(&mut self) -> Vec<WorkPerformedProperty>
Take https://schema.org/workPerformed from Self
as owned vector.