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§

source

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.

source

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.

Implementors§