Trait schema_org_types::AskActionTrait
source · pub trait AskActionTrait {
// Required methods
fn get_question(&self) -> &[QuestionProperty];
fn take_question(&mut self) -> Vec<QuestionProperty>;
}
Expand description
This trait is for properties from https://schema.org/AskAction.
Required Methods§
sourcefn get_question(&self) -> &[QuestionProperty]
fn get_question(&self) -> &[QuestionProperty]
Get https://schema.org/question from Self
as borrowed slice.
sourcefn take_question(&mut self) -> Vec<QuestionProperty>
fn take_question(&mut self) -> Vec<QuestionProperty>
Take https://schema.org/question from Self
as owned vector.