pub trait HowToDirectionTrait {
Show 16 methods
// Required methods
fn get_after_media(&self) -> &[AfterMediaProperty];
fn take_after_media(&mut self) -> Vec<AfterMediaProperty>;
fn get_before_media(&self) -> &[BeforeMediaProperty];
fn take_before_media(&mut self) -> Vec<BeforeMediaProperty>;
fn get_during_media(&self) -> &[DuringMediaProperty];
fn take_during_media(&mut self) -> Vec<DuringMediaProperty>;
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_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>;
}
Expand description
This trait is for properties from https://schema.org/HowToDirection.
Required Methods§
sourcefn get_after_media(&self) -> &[AfterMediaProperty]
fn get_after_media(&self) -> &[AfterMediaProperty]
Get https://schema.org/afterMedia from Self
as borrowed slice.
sourcefn take_after_media(&mut self) -> Vec<AfterMediaProperty>
fn take_after_media(&mut self) -> Vec<AfterMediaProperty>
Take https://schema.org/afterMedia from Self
as owned vector.
sourcefn get_before_media(&self) -> &[BeforeMediaProperty]
fn get_before_media(&self) -> &[BeforeMediaProperty]
Get https://schema.org/beforeMedia from Self
as borrowed slice.
sourcefn take_before_media(&mut self) -> Vec<BeforeMediaProperty>
fn take_before_media(&mut self) -> Vec<BeforeMediaProperty>
Take https://schema.org/beforeMedia from Self
as owned vector.
sourcefn get_during_media(&self) -> &[DuringMediaProperty]
fn get_during_media(&self) -> &[DuringMediaProperty]
Get https://schema.org/duringMedia from Self
as borrowed slice.
sourcefn take_during_media(&mut self) -> Vec<DuringMediaProperty>
fn take_during_media(&mut self) -> Vec<DuringMediaProperty>
Take https://schema.org/duringMedia 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_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.