setQuestion関数で追加したQuestionsを全て取得したいです。
どのように書くべきかを教えていただけませんでしょうか?

pragma solidity ^0.5.11;

contract Question {

    struct Questions {
        uint user_id;
        uint question_id;
        string title;
        string mainText;
        bool is_active; // default: true
    }

    Questions[] public questions;

    function setQuestion(
        uint _user_id,
        uint _question_id,
        string memory _title,
        string memory _mainText
    ) public {
        questions.push(
            Questions(
                _user_id,
                _question_id,
                _title,
                _mainText,
                true
            )
        );
    }

    function getQuestionAll() public view returns(uint[] memory)  {
        Questions[] memory question;
        for (uint i = 0; i <= questions.length; i++) {
            question.push(
                Questions(
                    questions[i].user_id,
                    questions[i].question_id,
                    questions[i].title,
                    questions[i].mainText,
                    questions[i].is_active
                )
            );
        }
        return true;
    }
}