Trait schema_org_types::HowToSectionTrait
source · pub trait HowToSectionTrait {
// Required methods
fn get_steps(&self) -> &[StepsProperty];
fn take_steps(&mut self) -> Vec<StepsProperty>;
}
Expand description
This trait is for properties from https://schema.org/HowToSection.
Required Methods§
sourcefn get_steps(&self) -> &[StepsProperty]
fn get_steps(&self) -> &[StepsProperty]
👎Deprecated: This schema is superseded by https://schema.org/step.
Get https://schema.org/steps from Self
as borrowed slice.
sourcefn take_steps(&mut self) -> Vec<StepsProperty>
fn take_steps(&mut self) -> Vec<StepsProperty>
👎Deprecated: This schema is superseded by https://schema.org/step.
Take https://schema.org/steps from Self
as owned vector.