pub trait QuestionTrait {
    // Required methods
    fn get_accepted_answer(&self) -> &[AcceptedAnswerProperty];
    fn take_accepted_answer(&mut self) -> Vec<AcceptedAnswerProperty>;
    fn get_answer_count(&self) -> &[AnswerCountProperty];
    fn take_answer_count(&mut self) -> Vec<AnswerCountProperty>;
    fn get_edu_question_type(&self) -> &[EduQuestionTypeProperty];
    fn take_edu_question_type(&mut self) -> Vec<EduQuestionTypeProperty>;
    fn get_parent_item(&self) -> &[ParentItemProperty];
    fn take_parent_item(&mut self) -> Vec<ParentItemProperty>;
    fn get_suggested_answer(&self) -> &[SuggestedAnswerProperty];
    fn take_suggested_answer(&mut self) -> Vec<SuggestedAnswerProperty>;
}
Expand description

This trait is for properties from https://schema.org/Question.

Required Methods§

Implementors§