pub trait HowToTrait {
Show 18 methods // Required methods fn get_estimated_cost(&self) -> &[EstimatedCostProperty]; fn take_estimated_cost(&mut self) -> Vec<EstimatedCostProperty>; fn get_perform_time(&self) -> &[PerformTimeProperty]; fn take_perform_time(&mut self) -> Vec<PerformTimeProperty>; fn get_prep_time(&self) -> &[PrepTimeProperty]; fn take_prep_time(&mut self) -> Vec<PrepTimeProperty>; fn get_step(&self) -> &[StepProperty]; fn take_step(&mut self) -> Vec<StepProperty>; fn get_steps(&self) -> &[StepsProperty]; fn take_steps(&mut self) -> Vec<StepsProperty>; fn get_supply(&self) -> &[SupplyProperty]; fn take_supply(&mut self) -> Vec<SupplyProperty>; fn get_tool(&self) -> &[ToolProperty]; fn take_tool(&mut self) -> Vec<ToolProperty>; fn get_total_time(&self) -> &[TotalTimeProperty]; fn take_total_time(&mut self) -> Vec<TotalTimeProperty>; fn get_yield(&self) -> &[YieldProperty]; fn take_yield(&mut self) -> Vec<YieldProperty>;
}
Expand description

This trait is for properties from https://schema.org/HowTo.

Required Methods§

source

fn get_estimated_cost(&self) -> &[EstimatedCostProperty]

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

source

fn take_estimated_cost(&mut self) -> Vec<EstimatedCostProperty>

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

source

fn get_perform_time(&self) -> &[PerformTimeProperty]

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

source

fn take_perform_time(&mut self) -> Vec<PerformTimeProperty>

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

source

fn get_prep_time(&self) -> &[PrepTimeProperty]

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

source

fn take_prep_time(&mut self) -> Vec<PrepTimeProperty>

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

source

fn get_step(&self) -> &[StepProperty]

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

source

fn take_step(&mut self) -> Vec<StepProperty>

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

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.

source

fn get_supply(&self) -> &[SupplyProperty]

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

source

fn take_supply(&mut self) -> Vec<SupplyProperty>

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

source

fn get_tool(&self) -> &[ToolProperty]

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

source

fn take_tool(&mut self) -> Vec<ToolProperty>

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

source

fn get_total_time(&self) -> &[TotalTimeProperty]

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

source

fn take_total_time(&mut self) -> Vec<TotalTimeProperty>

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

source

fn get_yield(&self) -> &[YieldProperty]

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

source

fn take_yield(&mut self) -> Vec<YieldProperty>

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

Implementors§