How did the Tokugawa shogunate influence Japan?

It defeated the Mongols twice.
It downplayed the importance of education.
It decreed that women should have equal rights.
It oversaw a long period of peace and great wealth.