Trait schema_org_types::ReplaceActionTrait
source · pub trait ReplaceActionTrait {
// Required methods
fn get_replacee(&self) -> &[ReplaceeProperty];
fn take_replacee(&mut self) -> Vec<ReplaceeProperty>;
fn get_replacer(&self) -> &[ReplacerProperty];
fn take_replacer(&mut self) -> Vec<ReplacerProperty>;
}
Expand description
This trait is for properties from https://schema.org/ReplaceAction.
Required Methods§
sourcefn get_replacee(&self) -> &[ReplaceeProperty]
fn get_replacee(&self) -> &[ReplaceeProperty]
Get https://schema.org/replacee from Self
as borrowed slice.
sourcefn take_replacee(&mut self) -> Vec<ReplaceeProperty>
fn take_replacee(&mut self) -> Vec<ReplaceeProperty>
Take https://schema.org/replacee from Self
as owned vector.
sourcefn get_replacer(&self) -> &[ReplacerProperty]
fn get_replacer(&self) -> &[ReplacerProperty]
Get https://schema.org/replacer from Self
as borrowed slice.
sourcefn take_replacer(&mut self) -> Vec<ReplacerProperty>
fn take_replacer(&mut self) -> Vec<ReplacerProperty>
Take https://schema.org/replacer from Self
as owned vector.