Trait schema_org_types::HowToTrait
source · 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§
sourcefn get_estimated_cost(&self) -> &[EstimatedCostProperty]
fn get_estimated_cost(&self) -> &[EstimatedCostProperty]
Get https://schema.org/estimatedCost from Self
as borrowed slice.
sourcefn take_estimated_cost(&mut self) -> Vec<EstimatedCostProperty>
fn take_estimated_cost(&mut self) -> Vec<EstimatedCostProperty>
Take https://schema.org/estimatedCost from Self
as owned vector.
sourcefn get_perform_time(&self) -> &[PerformTimeProperty]
fn get_perform_time(&self) -> &[PerformTimeProperty]
Get https://schema.org/performTime from Self
as borrowed slice.
sourcefn take_perform_time(&mut self) -> Vec<PerformTimeProperty>
fn take_perform_time(&mut self) -> Vec<PerformTimeProperty>
Take https://schema.org/performTime from Self
as owned vector.
sourcefn get_prep_time(&self) -> &[PrepTimeProperty]
fn get_prep_time(&self) -> &[PrepTimeProperty]
Get https://schema.org/prepTime from Self
as borrowed slice.
sourcefn take_prep_time(&mut self) -> Vec<PrepTimeProperty>
fn take_prep_time(&mut self) -> Vec<PrepTimeProperty>
Take https://schema.org/prepTime from Self
as owned vector.
sourcefn get_step(&self) -> &[StepProperty]
fn get_step(&self) -> &[StepProperty]
Get https://schema.org/step from Self
as borrowed slice.
sourcefn take_step(&mut self) -> Vec<StepProperty>
fn take_step(&mut self) -> Vec<StepProperty>
Take https://schema.org/step from Self
as owned vector.
sourcefn get_steps(&self) -> &[StepsProperty]
fn get_steps(&self) -> &[StepsProperty]
Get https://schema.org/steps from Self
as borrowed slice.
sourcefn take_steps(&mut self) -> Vec<StepsProperty>
fn take_steps(&mut self) -> Vec<StepsProperty>
Take https://schema.org/steps from Self
as owned vector.
sourcefn get_supply(&self) -> &[SupplyProperty]
fn get_supply(&self) -> &[SupplyProperty]
Get https://schema.org/supply from Self
as borrowed slice.
sourcefn take_supply(&mut self) -> Vec<SupplyProperty>
fn take_supply(&mut self) -> Vec<SupplyProperty>
Take https://schema.org/supply from Self
as owned vector.
sourcefn get_tool(&self) -> &[ToolProperty]
fn get_tool(&self) -> &[ToolProperty]
Get https://schema.org/tool from Self
as borrowed slice.
sourcefn take_tool(&mut self) -> Vec<ToolProperty>
fn take_tool(&mut self) -> Vec<ToolProperty>
Take https://schema.org/tool from Self
as owned vector.
sourcefn get_total_time(&self) -> &[TotalTimeProperty]
fn get_total_time(&self) -> &[TotalTimeProperty]
Get https://schema.org/totalTime from Self
as borrowed slice.
sourcefn take_total_time(&mut self) -> Vec<TotalTimeProperty>
fn take_total_time(&mut self) -> Vec<TotalTimeProperty>
Take https://schema.org/totalTime from Self
as owned vector.
sourcefn get_yield(&self) -> &[YieldProperty]
fn get_yield(&self) -> &[YieldProperty]
Get https://schema.org/yield from Self
as borrowed slice.
sourcefn take_yield(&mut self) -> Vec<YieldProperty>
fn take_yield(&mut self) -> Vec<YieldProperty>
Take https://schema.org/yield from Self
as owned vector.