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§

source

fn get_about(&self) -> &[AboutProperty]

Get https://schema.org/about from Self as borrowed slice.

source

fn take_about(&mut self) -> Vec<AboutProperty>

Take https://schema.org/about from Self as owned vector.

source

fn get_actor(&self) -> &[ActorProperty]

Get https://schema.org/actor from Self as borrowed slice.

source

fn take_actor(&mut self) -> Vec<ActorProperty>

Take https://schema.org/actor from Self as owned vector.

source

fn get_aggregate_rating(&self) -> &[AggregateRatingProperty]

Get https://schema.org/aggregateRating from Self as borrowed slice.

source

fn take_aggregate_rating(&mut self) -> Vec<AggregateRatingProperty>

Take https://schema.org/aggregateRating from Self as owned vector.

source

fn get_attendee(&self) -> &[AttendeeProperty]

Get https://schema.org/attendee from Self as borrowed slice.

source

fn take_attendee(&mut self) -> Vec<AttendeeProperty>

Take https://schema.org/attendee from Self as owned vector.

source

fn get_attendees(&self) -> &[AttendeesProperty]

👎Deprecated: This schema is superseded by https://schema.org/attendee.

Get https://schema.org/attendees from Self as borrowed slice.

source

fn take_attendees(&mut self) -> Vec<AttendeesProperty>

👎Deprecated: This schema is superseded by https://schema.org/attendee.

Take https://schema.org/attendees from Self as owned vector.

source

fn get_audience(&self) -> &[AudienceProperty]

Get https://schema.org/audience from Self as borrowed slice.

source

fn take_audience(&mut self) -> Vec<AudienceProperty>

Take https://schema.org/audience from Self as owned vector.

source

fn get_composer(&self) -> &[ComposerProperty]

Get https://schema.org/composer from Self as borrowed slice.

source

fn take_composer(&mut self) -> Vec<ComposerProperty>

Take https://schema.org/composer from Self as owned vector.

source

fn get_contributor(&self) -> &[ContributorProperty]

Get https://schema.org/contributor from Self as borrowed slice.

source

fn take_contributor(&mut self) -> Vec<ContributorProperty>

Take https://schema.org/contributor from Self as owned vector.

source

fn get_director(&self) -> &[DirectorProperty]

Get https://schema.org/director from Self as borrowed slice.

source

fn take_director(&mut self) -> Vec<DirectorProperty>

Take https://schema.org/director from Self as owned vector.

source

fn get_door_time(&self) -> &[DoorTimeProperty]

Get https://schema.org/doorTime from Self as borrowed slice.

source

fn take_door_time(&mut self) -> Vec<DoorTimeProperty>

Take https://schema.org/doorTime from Self as owned vector.

source

fn get_duration(&self) -> &[DurationProperty]

Get https://schema.org/duration from Self as borrowed slice.

source

fn take_duration(&mut self) -> Vec<DurationProperty>

Take https://schema.org/duration from Self as owned vector.

source

fn get_end_date(&self) -> &[EndDateProperty]

Get https://schema.org/endDate from Self as borrowed slice.

source

fn take_end_date(&mut self) -> Vec<EndDateProperty>

Take https://schema.org/endDate from Self as owned vector.

source

fn get_event_attendance_mode(&self) -> &[EventAttendanceModeProperty]

Get https://schema.org/eventAttendanceMode from Self as borrowed slice.

source

fn take_event_attendance_mode(&mut self) -> Vec<EventAttendanceModeProperty>

Take https://schema.org/eventAttendanceMode from Self as owned vector.

source

fn get_event_schedule(&self) -> &[EventScheduleProperty]

Get https://schema.org/eventSchedule from Self as borrowed slice.

source

fn take_event_schedule(&mut self) -> Vec<EventScheduleProperty>

Take https://schema.org/eventSchedule from Self as owned vector.

source

fn get_event_status(&self) -> &[EventStatusProperty]

Get https://schema.org/eventStatus from Self as borrowed slice.

source

fn take_event_status(&mut self) -> Vec<EventStatusProperty>

Take https://schema.org/eventStatus from Self as owned vector.

source

fn get_funder(&self) -> &[FunderProperty]

Get https://schema.org/funder from Self as borrowed slice.

source

fn take_funder(&mut self) -> Vec<FunderProperty>

Take https://schema.org/funder from Self as owned vector.

source

fn get_funding(&self) -> &[FundingProperty]

Get https://schema.org/funding from Self as borrowed slice.

source

fn take_funding(&mut self) -> Vec<FundingProperty>

Take https://schema.org/funding from Self as owned vector.

source

fn get_in_language(&self) -> &[InLanguageProperty]

Get https://schema.org/inLanguage from Self as borrowed slice.

source

fn take_in_language(&mut self) -> Vec<InLanguageProperty>

Take https://schema.org/inLanguage from Self as owned vector.

source

fn get_is_accessible_for_free(&self) -> &[IsAccessibleForFreeProperty]

Get https://schema.org/isAccessibleForFree from Self as borrowed slice.

source

fn take_is_accessible_for_free(&mut self) -> Vec<IsAccessibleForFreeProperty>

Take https://schema.org/isAccessibleForFree from Self as owned vector.

source

fn get_keywords(&self) -> &[KeywordsProperty]

Get https://schema.org/keywords from Self as borrowed slice.

source

fn take_keywords(&mut self) -> Vec<KeywordsProperty>

Take https://schema.org/keywords from Self as owned vector.

source

fn get_location(&self) -> &[LocationProperty]

Get https://schema.org/location from Self as borrowed slice.

source

fn take_location(&mut self) -> Vec<LocationProperty>

Take https://schema.org/location from Self as owned vector.

source

fn get_maximum_attendee_capacity(&self) -> &[MaximumAttendeeCapacityProperty]

source

fn take_maximum_attendee_capacity( &mut self ) -> Vec<MaximumAttendeeCapacityProperty>

source

fn get_maximum_physical_attendee_capacity( &self ) -> &[MaximumPhysicalAttendeeCapacityProperty]

source

fn take_maximum_physical_attendee_capacity( &mut self ) -> Vec<MaximumPhysicalAttendeeCapacityProperty>

source

fn get_maximum_virtual_attendee_capacity( &self ) -> &[MaximumVirtualAttendeeCapacityProperty]

source

fn take_maximum_virtual_attendee_capacity( &mut self ) -> Vec<MaximumVirtualAttendeeCapacityProperty>

source

fn get_offers(&self) -> &[OffersProperty]

Get https://schema.org/offers from Self as borrowed slice.

source

fn take_offers(&mut self) -> Vec<OffersProperty>

Take https://schema.org/offers from Self as owned vector.

source

fn get_organizer(&self) -> &[OrganizerProperty]

Get https://schema.org/organizer from Self as borrowed slice.

source

fn take_organizer(&mut self) -> Vec<OrganizerProperty>

Take https://schema.org/organizer from Self as owned vector.

source

fn get_performer(&self) -> &[PerformerProperty]

Get https://schema.org/performer from Self as borrowed slice.

source

fn take_performer(&mut self) -> Vec<PerformerProperty>

Take https://schema.org/performer from Self as owned vector.

source

fn get_performers(&self) -> &[PerformersProperty]

👎Deprecated: This schema is superseded by https://schema.org/performer.

Get https://schema.org/performers from Self as borrowed slice.

source

fn take_performers(&mut self) -> Vec<PerformersProperty>

👎Deprecated: This schema is superseded by https://schema.org/performer.

Take https://schema.org/performers from Self as owned vector.

source

fn get_previous_start_date(&self) -> &[PreviousStartDateProperty]

Get https://schema.org/previousStartDate from Self as borrowed slice.

source

fn take_previous_start_date(&mut self) -> Vec<PreviousStartDateProperty>

Take https://schema.org/previousStartDate from Self as owned vector.

source

fn get_recorded_in(&self) -> &[RecordedInProperty]

Get https://schema.org/recordedIn from Self as borrowed slice.

source

fn take_recorded_in(&mut self) -> Vec<RecordedInProperty>

Take https://schema.org/recordedIn from Self as owned vector.

source

fn get_remaining_attendee_capacity( &self ) -> &[RemainingAttendeeCapacityProperty]

source

fn take_remaining_attendee_capacity( &mut self ) -> Vec<RemainingAttendeeCapacityProperty>

source

fn get_review(&self) -> &[ReviewProperty]

Get https://schema.org/review from Self as borrowed slice.

source

fn take_review(&mut self) -> Vec<ReviewProperty>

Take https://schema.org/review from Self as owned vector.

source

fn get_sponsor(&self) -> &[SponsorProperty]

Get https://schema.org/sponsor from Self as borrowed slice.

source

fn take_sponsor(&mut self) -> Vec<SponsorProperty>

Take https://schema.org/sponsor from Self as owned vector.

source

fn get_start_date(&self) -> &[StartDateProperty]

Get https://schema.org/startDate from Self as borrowed slice.

source

fn take_start_date(&mut self) -> Vec<StartDateProperty>

Take https://schema.org/startDate from Self as owned vector.

source

fn get_sub_event(&self) -> &[SubEventProperty]

Get https://schema.org/subEvent from Self as borrowed slice.

source

fn take_sub_event(&mut self) -> Vec<SubEventProperty>

Take https://schema.org/subEvent from Self as owned vector.

source

fn get_sub_events(&self) -> &[SubEventsProperty]

👎Deprecated: This schema is superseded by https://schema.org/subEvent.

Get https://schema.org/subEvents from Self as borrowed slice.

source

fn take_sub_events(&mut self) -> Vec<SubEventsProperty>

👎Deprecated: This schema is superseded by https://schema.org/subEvent.

Take https://schema.org/subEvents from Self as owned vector.

source

fn get_super_event(&self) -> &[SuperEventProperty]

Get https://schema.org/superEvent from Self as borrowed slice.

source

fn take_super_event(&mut self) -> Vec<SuperEventProperty>

Take https://schema.org/superEvent from Self as owned vector.

source

fn get_translator(&self) -> &[TranslatorProperty]

Get https://schema.org/translator from Self as borrowed slice.

source

fn take_translator(&mut self) -> Vec<TranslatorProperty>

Take https://schema.org/translator from Self as owned vector.

source

fn get_typical_age_range(&self) -> &[TypicalAgeRangeProperty]

Get https://schema.org/typicalAgeRange from Self as borrowed slice.

source

fn take_typical_age_range(&mut self) -> Vec<TypicalAgeRangeProperty>

Take https://schema.org/typicalAgeRange from Self as owned vector.

Get https://schema.org/workFeatured from Self as borrowed slice.

Take https://schema.org/workFeatured from Self as owned vector.

source

fn get_work_performed(&self) -> &[WorkPerformedProperty]

Get https://schema.org/workPerformed from Self as borrowed slice.

source

fn take_work_performed(&mut self) -> Vec<WorkPerformedProperty>

Take https://schema.org/workPerformed from Self as owned vector.

Implementors§