Preheat oven to 350°F with a rack in the center.
Spray a large (1 ½ pound, 10" x 5" x 3") loaf pan with cooking spray and line with parchment that overhangs slightly on two sides.
Heat oil in a large skillet over medium-high heat.
Add the onion and a sprinkle of the salt and cook, stirring occasionally, until softened, about 5 minutes.
Add the minced mushrooms and another sprinkle of the salt, raise heat to high, and cook until they have released their juices and reabsorbed them, about 7 minutes.
Add garlic, thyme, oregano, basil, tarragon, and sage and cook 2 minutes more.
Deglaze the pan with the wine, scraping up any browned bits, and cook until liquid is absorbed, about 1 minute.
In a medium mixing bowl, beat together the eggs and cottage cheese.
In a large mixing bowl, toss together the brown rice, walnuts and cashews.
Stir in the egg mixture, then add the mushroom mixture, cheeses, parsley, remaining salt, and pepper. Mix well.
Spoon mixture into prepared loaf pan and smooth top. If desired, decorate with a few mushroom slices or walnut halves. Place loaf pan on a rimmed baking sheet.
Bake until firm, about 60 minutes. Let cool in the pan for 10 minutes before removing to a platter to serve.