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§

source

fn get_question(&self) -> &[QuestionProperty]

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

source

fn take_question(&mut self) -> Vec<QuestionProperty>

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

Implementors§