Trait schema_org_types::ExercisePlanTrait
source · pub trait ExercisePlanTrait {
Show 16 methods
// Required methods
fn get_activity_duration(&self) -> &[ActivityDurationProperty];
fn take_activity_duration(&mut self) -> Vec<ActivityDurationProperty>;
fn get_activity_frequency(&self) -> &[ActivityFrequencyProperty];
fn take_activity_frequency(&mut self) -> Vec<ActivityFrequencyProperty>;
fn get_additional_variable(&self) -> &[AdditionalVariableProperty];
fn take_additional_variable(&mut self) -> Vec<AdditionalVariableProperty>;
fn get_exercise_type(&self) -> &[ExerciseTypeProperty];
fn take_exercise_type(&mut self) -> Vec<ExerciseTypeProperty>;
fn get_intensity(&self) -> &[IntensityProperty];
fn take_intensity(&mut self) -> Vec<IntensityProperty>;
fn get_repetitions(&self) -> &[RepetitionsProperty];
fn take_repetitions(&mut self) -> Vec<RepetitionsProperty>;
fn get_rest_periods(&self) -> &[RestPeriodsProperty];
fn take_rest_periods(&mut self) -> Vec<RestPeriodsProperty>;
fn get_workload(&self) -> &[WorkloadProperty];
fn take_workload(&mut self) -> Vec<WorkloadProperty>;
}
Expand description
This trait is for properties from https://schema.org/ExercisePlan.
Required Methods§
sourcefn get_activity_duration(&self) -> &[ActivityDurationProperty]
fn get_activity_duration(&self) -> &[ActivityDurationProperty]
Get https://schema.org/activityDuration from Self
as borrowed slice.
sourcefn take_activity_duration(&mut self) -> Vec<ActivityDurationProperty>
fn take_activity_duration(&mut self) -> Vec<ActivityDurationProperty>
Take https://schema.org/activityDuration from Self
as owned vector.
sourcefn get_activity_frequency(&self) -> &[ActivityFrequencyProperty]
fn get_activity_frequency(&self) -> &[ActivityFrequencyProperty]
Get https://schema.org/activityFrequency from Self
as borrowed slice.
sourcefn take_activity_frequency(&mut self) -> Vec<ActivityFrequencyProperty>
fn take_activity_frequency(&mut self) -> Vec<ActivityFrequencyProperty>
Take https://schema.org/activityFrequency from Self
as owned vector.
sourcefn get_additional_variable(&self) -> &[AdditionalVariableProperty]
fn get_additional_variable(&self) -> &[AdditionalVariableProperty]
Get https://schema.org/additionalVariable from Self
as borrowed slice.
sourcefn take_additional_variable(&mut self) -> Vec<AdditionalVariableProperty>
fn take_additional_variable(&mut self) -> Vec<AdditionalVariableProperty>
Take https://schema.org/additionalVariable from Self
as owned vector.
sourcefn get_exercise_type(&self) -> &[ExerciseTypeProperty]
fn get_exercise_type(&self) -> &[ExerciseTypeProperty]
Get https://schema.org/exerciseType from Self
as borrowed slice.
sourcefn 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.
sourcefn get_intensity(&self) -> &[IntensityProperty]
fn get_intensity(&self) -> &[IntensityProperty]
Get https://schema.org/intensity from Self
as borrowed slice.
sourcefn take_intensity(&mut self) -> Vec<IntensityProperty>
fn take_intensity(&mut self) -> Vec<IntensityProperty>
Take https://schema.org/intensity from Self
as owned vector.
sourcefn get_repetitions(&self) -> &[RepetitionsProperty]
fn get_repetitions(&self) -> &[RepetitionsProperty]
Get https://schema.org/repetitions from Self
as borrowed slice.
sourcefn take_repetitions(&mut self) -> Vec<RepetitionsProperty>
fn take_repetitions(&mut self) -> Vec<RepetitionsProperty>
Take https://schema.org/repetitions from Self
as owned vector.
sourcefn get_rest_periods(&self) -> &[RestPeriodsProperty]
fn get_rest_periods(&self) -> &[RestPeriodsProperty]
Get https://schema.org/restPeriods from Self
as borrowed slice.
sourcefn take_rest_periods(&mut self) -> Vec<RestPeriodsProperty>
fn take_rest_periods(&mut self) -> Vec<RestPeriodsProperty>
Take https://schema.org/restPeriods from Self
as owned vector.
sourcefn get_workload(&self) -> &[WorkloadProperty]
fn get_workload(&self) -> &[WorkloadProperty]
Get https://schema.org/workload from Self
as borrowed slice.
sourcefn take_workload(&mut self) -> Vec<WorkloadProperty>
fn take_workload(&mut self) -> Vec<WorkloadProperty>
Take https://schema.org/workload from Self
as owned vector.