Trait schema_org_types::ChooseActionTrait
source · pub trait ChooseActionTrait {
// Required methods
fn get_action_option(&self) -> &[ActionOptionProperty];
fn take_action_option(&mut self) -> Vec<ActionOptionProperty>;
fn get_option(&self) -> &[OptionProperty];
fn take_option(&mut self) -> Vec<OptionProperty>;
}
Expand description
This trait is for properties from https://schema.org/ChooseAction.
Required Methods§
sourcefn get_action_option(&self) -> &[ActionOptionProperty]
fn get_action_option(&self) -> &[ActionOptionProperty]
Get https://schema.org/actionOption from Self
as borrowed slice.
sourcefn take_action_option(&mut self) -> Vec<ActionOptionProperty>
fn take_action_option(&mut self) -> Vec<ActionOptionProperty>
Take https://schema.org/actionOption from Self
as owned vector.
sourcefn get_option(&self) -> &[OptionProperty]
fn get_option(&self) -> &[OptionProperty]
👎Deprecated: This schema is superseded by https://schema.org/actionOption.
Get https://schema.org/option from Self
as borrowed slice.
sourcefn take_option(&mut self) -> Vec<OptionProperty>
fn take_option(&mut self) -> Vec<OptionProperty>
👎Deprecated: This schema is superseded by https://schema.org/actionOption.
Take https://schema.org/option from Self
as owned vector.