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§

source

fn get_replacee(&self) -> &[ReplaceeProperty]

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

source

fn take_replacee(&mut self) -> Vec<ReplaceeProperty>

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

source

fn get_replacer(&self) -> &[ReplacerProperty]

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

source

fn take_replacer(&mut self) -> Vec<ReplacerProperty>

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

Implementors§