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§

source

fn get_activity_duration(&self) -> &[ActivityDurationProperty]

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

source

fn take_activity_duration(&mut self) -> Vec<ActivityDurationProperty>

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

source

fn get_activity_frequency(&self) -> &[ActivityFrequencyProperty]

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

source

fn take_activity_frequency(&mut self) -> Vec<ActivityFrequencyProperty>

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

source

fn get_additional_variable(&self) -> &[AdditionalVariableProperty]

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

source

fn take_additional_variable(&mut self) -> Vec<AdditionalVariableProperty>

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

source

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>

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

source

fn get_intensity(&self) -> &[IntensityProperty]

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

source

fn take_intensity(&mut self) -> Vec<IntensityProperty>

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

source

fn get_repetitions(&self) -> &[RepetitionsProperty]

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

source

fn take_repetitions(&mut self) -> Vec<RepetitionsProperty>

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

source

fn get_rest_periods(&self) -> &[RestPeriodsProperty]

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

source

fn take_rest_periods(&mut self) -> Vec<RestPeriodsProperty>

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

source

fn get_workload(&self) -> &[WorkloadProperty]

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

source

fn take_workload(&mut self) -> Vec<WorkloadProperty>

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

Implementors§