Trait schema_org_types::HowToSupplyTrait
source · pub trait HowToSupplyTrait {
// Required methods
fn get_estimated_cost(&self) -> &[EstimatedCostProperty];
fn take_estimated_cost(&mut self) -> Vec<EstimatedCostProperty>;
}
Expand description
This trait is for properties from https://schema.org/HowToSupply.
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.