Struct schema_org_types::ExerciseAction
source · pub struct ExerciseAction {Show 39 fields
pub course: Vec<CourseProperty>,
pub diet: Vec<DietProperty>,
pub distance: Vec<DistanceProperty>,
pub exercise_course: Vec<ExerciseCourseProperty>,
pub exercise_plan: Vec<ExercisePlanProperty>,
pub exercise_related_diet: Vec<ExerciseRelatedDietProperty>,
pub exercise_type: Vec<ExerciseTypeProperty>,
pub from_location: Vec<FromLocationProperty>,
pub opponent: Vec<OpponentProperty>,
pub sports_activity_location: Vec<SportsActivityLocationProperty>,
pub sports_event: Vec<SportsEventProperty>,
pub sports_team: Vec<SportsTeamProperty>,
pub to_location: Vec<ToLocationProperty>,
pub action_status: Vec<ActionStatusProperty>,
pub agent: Vec<AgentProperty>,
pub end_time: Vec<EndTimeProperty>,
pub error: Vec<ErrorProperty>,
pub instrument: Vec<InstrumentProperty>,
pub location: Vec<LocationProperty>,
pub object: Vec<ObjectProperty>,
pub participant: Vec<ParticipantProperty>,
pub provider: Vec<ProviderProperty>,
pub result: Vec<ResultProperty>,
pub start_time: Vec<StartTimeProperty>,
pub target: Vec<TargetProperty>,
pub audience: Vec<AudienceProperty>,
pub event: Vec<EventProperty>,
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§
§course: Vec<CourseProperty>
👎Deprecated: This schema is superseded by https://schema.org/exerciseCourse.
§diet: Vec<DietProperty>
§distance: Vec<DistanceProperty>
§exercise_course: Vec<ExerciseCourseProperty>
§exercise_plan: Vec<ExercisePlanProperty>
§exercise_type: Vec<ExerciseTypeProperty>
§from_location: Vec<FromLocationProperty>
§opponent: Vec<OpponentProperty>
§sports_activity_location: Vec<SportsActivityLocationProperty>
§sports_event: Vec<SportsEventProperty>
§sports_team: Vec<SportsTeamProperty>
§to_location: Vec<ToLocationProperty>
§action_status: Vec<ActionStatusProperty>
§agent: Vec<AgentProperty>
§end_time: Vec<EndTimeProperty>
§error: Vec<ErrorProperty>
§instrument: Vec<InstrumentProperty>
§location: Vec<LocationProperty>
§object: Vec<ObjectProperty>
§participant: Vec<ParticipantProperty>
§provider: Vec<ProviderProperty>
§result: Vec<ResultProperty>
§start_time: Vec<StartTimeProperty>
§target: Vec<TargetProperty>
§audience: Vec<AudienceProperty>
§event: Vec<EventProperty>
§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 ActionTrait for ExerciseAction
impl ActionTrait for ExerciseAction
source§fn get_action_status(&self) -> &[ActionStatusProperty]
fn get_action_status(&self) -> &[ActionStatusProperty]
Get https://schema.org/actionStatus from
Self
as borrowed slice.source§fn take_action_status(&mut self) -> Vec<ActionStatusProperty>
fn take_action_status(&mut self) -> Vec<ActionStatusProperty>
Take https://schema.org/actionStatus from
Self
as owned vector.source§fn get_agent(&self) -> &[AgentProperty]
fn get_agent(&self) -> &[AgentProperty]
Get https://schema.org/agent from
Self
as borrowed slice.source§fn take_agent(&mut self) -> Vec<AgentProperty>
fn take_agent(&mut self) -> Vec<AgentProperty>
Take https://schema.org/agent from
Self
as owned vector.source§fn get_end_time(&self) -> &[EndTimeProperty]
fn get_end_time(&self) -> &[EndTimeProperty]
Get https://schema.org/endTime from
Self
as borrowed slice.source§fn take_end_time(&mut self) -> Vec<EndTimeProperty>
fn take_end_time(&mut self) -> Vec<EndTimeProperty>
Take https://schema.org/endTime from
Self
as owned vector.source§fn get_error(&self) -> &[ErrorProperty]
fn get_error(&self) -> &[ErrorProperty]
Get https://schema.org/error from
Self
as borrowed slice.source§fn take_error(&mut self) -> Vec<ErrorProperty>
fn take_error(&mut self) -> Vec<ErrorProperty>
Take https://schema.org/error from
Self
as owned vector.source§fn get_instrument(&self) -> &[InstrumentProperty]
fn get_instrument(&self) -> &[InstrumentProperty]
Get https://schema.org/instrument from
Self
as borrowed slice.source§fn take_instrument(&mut self) -> Vec<InstrumentProperty>
fn take_instrument(&mut self) -> Vec<InstrumentProperty>
Take https://schema.org/instrument from
Self
as owned vector.source§fn get_location(&self) -> &[LocationProperty]
fn get_location(&self) -> &[LocationProperty]
Get https://schema.org/location from
Self
as borrowed slice.source§fn take_location(&mut self) -> Vec<LocationProperty>
fn take_location(&mut self) -> Vec<LocationProperty>
Take https://schema.org/location from
Self
as owned vector.source§fn get_object(&self) -> &[ObjectProperty]
fn get_object(&self) -> &[ObjectProperty]
Get https://schema.org/object from
Self
as borrowed slice.source§fn take_object(&mut self) -> Vec<ObjectProperty>
fn take_object(&mut self) -> Vec<ObjectProperty>
Take https://schema.org/object from
Self
as owned vector.source§fn get_participant(&self) -> &[ParticipantProperty]
fn get_participant(&self) -> &[ParticipantProperty]
Get https://schema.org/participant from
Self
as borrowed slice.source§fn take_participant(&mut self) -> Vec<ParticipantProperty>
fn take_participant(&mut self) -> Vec<ParticipantProperty>
Take https://schema.org/participant from
Self
as owned vector.source§fn get_provider(&self) -> &[ProviderProperty]
fn get_provider(&self) -> &[ProviderProperty]
Get https://schema.org/provider from
Self
as borrowed slice.source§fn take_provider(&mut self) -> Vec<ProviderProperty>
fn take_provider(&mut self) -> Vec<ProviderProperty>
Take https://schema.org/provider from
Self
as owned vector.source§fn get_result(&self) -> &[ResultProperty]
fn get_result(&self) -> &[ResultProperty]
Get https://schema.org/result from
Self
as borrowed slice.source§fn take_result(&mut self) -> Vec<ResultProperty>
fn take_result(&mut self) -> Vec<ResultProperty>
Take https://schema.org/result from
Self
as owned vector.source§fn get_start_time(&self) -> &[StartTimeProperty]
fn get_start_time(&self) -> &[StartTimeProperty]
Get https://schema.org/startTime from
Self
as borrowed slice.source§fn take_start_time(&mut self) -> Vec<StartTimeProperty>
fn take_start_time(&mut self) -> Vec<StartTimeProperty>
Take https://schema.org/startTime from
Self
as owned vector.source§fn get_target(&self) -> &[TargetProperty]
fn get_target(&self) -> &[TargetProperty]
Get https://schema.org/target from
Self
as borrowed slice.source§fn take_target(&mut self) -> Vec<TargetProperty>
fn take_target(&mut self) -> Vec<TargetProperty>
Take https://schema.org/target from
Self
as owned vector.source§impl ExerciseActionTrait for ExerciseAction
impl ExerciseActionTrait for ExerciseAction
source§fn get_course(&self) -> &[CourseProperty]
fn get_course(&self) -> &[CourseProperty]
👎Deprecated: This schema is superseded by https://schema.org/exerciseCourse.
Get https://schema.org/course from
Self
as borrowed slice.source§fn take_course(&mut self) -> Vec<CourseProperty>
fn take_course(&mut self) -> Vec<CourseProperty>
👎Deprecated: This schema is superseded by https://schema.org/exerciseCourse.
Take https://schema.org/course from
Self
as owned vector.source§fn get_diet(&self) -> &[DietProperty]
fn get_diet(&self) -> &[DietProperty]
Get https://schema.org/diet from
Self
as borrowed slice.source§fn take_diet(&mut self) -> Vec<DietProperty>
fn take_diet(&mut self) -> Vec<DietProperty>
Take https://schema.org/diet from
Self
as owned vector.source§fn get_distance(&self) -> &[DistanceProperty]
fn get_distance(&self) -> &[DistanceProperty]
Get https://schema.org/distance from
Self
as borrowed slice.source§fn take_distance(&mut self) -> Vec<DistanceProperty>
fn take_distance(&mut self) -> Vec<DistanceProperty>
Take https://schema.org/distance from
Self
as owned vector.source§fn get_exercise_course(&self) -> &[ExerciseCourseProperty]
fn get_exercise_course(&self) -> &[ExerciseCourseProperty]
Get https://schema.org/exerciseCourse from
Self
as borrowed slice.source§fn take_exercise_course(&mut self) -> Vec<ExerciseCourseProperty>
fn take_exercise_course(&mut self) -> Vec<ExerciseCourseProperty>
Take https://schema.org/exerciseCourse from
Self
as owned vector.source§fn get_exercise_plan(&self) -> &[ExercisePlanProperty]
fn get_exercise_plan(&self) -> &[ExercisePlanProperty]
Get https://schema.org/exercisePlan from
Self
as borrowed slice.source§fn take_exercise_plan(&mut self) -> Vec<ExercisePlanProperty>
fn take_exercise_plan(&mut self) -> Vec<ExercisePlanProperty>
Take https://schema.org/exercisePlan from
Self
as owned vector.Get https://schema.org/exerciseRelatedDiet from
Self
as borrowed slice.Take https://schema.org/exerciseRelatedDiet from
Self
as owned vector.source§fn get_exercise_type(&self) -> &[ExerciseTypeProperty]
fn get_exercise_type(&self) -> &[ExerciseTypeProperty]
Get https://schema.org/exerciseType from
Self
as borrowed slice.source§fn take_exercise_type(&mut self) -> Vec<ExerciseTypeProperty>
fn take_exercise_type(&mut self) -> Vec<ExerciseTypeProperty>
Take https://schema.org/exerciseType from
Self
as owned vector.source§fn get_from_location(&self) -> &[FromLocationProperty]
fn get_from_location(&self) -> &[FromLocationProperty]
Get https://schema.org/fromLocation from
Self
as borrowed slice.source§fn take_from_location(&mut self) -> Vec<FromLocationProperty>
fn take_from_location(&mut self) -> Vec<FromLocationProperty>
Take https://schema.org/fromLocation from
Self
as owned vector.source§fn get_opponent(&self) -> &[OpponentProperty]
fn get_opponent(&self) -> &[OpponentProperty]
Get https://schema.org/opponent from
Self
as borrowed slice.source§fn take_opponent(&mut self) -> Vec<OpponentProperty>
fn take_opponent(&mut self) -> Vec<OpponentProperty>
Take https://schema.org/opponent from
Self
as owned vector.source§fn get_sports_activity_location(&self) -> &[SportsActivityLocationProperty]
fn get_sports_activity_location(&self) -> &[SportsActivityLocationProperty]
Get https://schema.org/sportsActivityLocation from
Self
as borrowed slice.source§fn take_sports_activity_location(
&mut self
) -> Vec<SportsActivityLocationProperty>
fn take_sports_activity_location( &mut self ) -> Vec<SportsActivityLocationProperty>
Take https://schema.org/sportsActivityLocation from
Self
as owned vector.source§fn get_sports_event(&self) -> &[SportsEventProperty]
fn get_sports_event(&self) -> &[SportsEventProperty]
Get https://schema.org/sportsEvent from
Self
as borrowed slice.source§fn take_sports_event(&mut self) -> Vec<SportsEventProperty>
fn take_sports_event(&mut self) -> Vec<SportsEventProperty>
Take https://schema.org/sportsEvent from
Self
as owned vector.source§fn get_sports_team(&self) -> &[SportsTeamProperty]
fn get_sports_team(&self) -> &[SportsTeamProperty]
Get https://schema.org/sportsTeam from
Self
as borrowed slice.source§fn take_sports_team(&mut self) -> Vec<SportsTeamProperty>
fn take_sports_team(&mut self) -> Vec<SportsTeamProperty>
Take https://schema.org/sportsTeam from
Self
as owned vector.source§fn get_to_location(&self) -> &[ToLocationProperty]
fn get_to_location(&self) -> &[ToLocationProperty]
Get https://schema.org/toLocation from
Self
as borrowed slice.source§fn take_to_location(&mut self) -> Vec<ToLocationProperty>
fn take_to_location(&mut self) -> Vec<ToLocationProperty>
Take https://schema.org/toLocation from
Self
as owned vector.source§impl PlayActionTrait for ExerciseAction
impl PlayActionTrait for ExerciseAction
source§fn get_audience(&self) -> &[AudienceProperty]
fn get_audience(&self) -> &[AudienceProperty]
Get https://schema.org/audience from
Self
as borrowed slice.source§fn take_audience(&mut self) -> Vec<AudienceProperty>
fn take_audience(&mut self) -> Vec<AudienceProperty>
Take https://schema.org/audience from
Self
as owned vector.source§fn get_event(&self) -> &[EventProperty]
fn get_event(&self) -> &[EventProperty]
Get https://schema.org/event from
Self
as borrowed slice.source§fn take_event(&mut self) -> Vec<EventProperty>
fn take_event(&mut self) -> Vec<EventProperty>
Take https://schema.org/event from
Self
as owned vector.source§impl ThingTrait for ExerciseAction
impl ThingTrait for ExerciseAction
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.Auto Trait Implementations§
impl RefUnwindSafe for ExerciseAction
impl Send for ExerciseAction
impl Sync for ExerciseAction
impl Unpin for ExerciseAction
impl UnwindSafe for ExerciseAction
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