Never beat off a wheel.
The only thing that holds it in is either an E clip or a round wire gear retainer.
Both bear against a thrust washer on the alloy case.
You now have a very big job ahead of you
The tranny has to come out be cleaned spotless split the busted fastener found new one + new thrust washer fitted then the whole thing put back together.
This is assuming that the slot in the axel is in a servicable condition.
In future put a pair of scissor jacks behind the wheel and do them up bu hand to put a load on the wheel.
next attack the axel with ah air hammer and put some weight behind it.
When the jacks get loose & drop a bit, tighten them up some more.
Repeat as necessary
Some wheels have taken a full day to get off but that is a lot less time effort & money than you are about to spend now.
Heat works a treat as does tapping the key in with a pin punch.
Most of the rust will be around the key slot.
In the worst case you will need to heat it with a torch to red hot which means you then will have to paint both rear wheels.
Having done this once you will become anal about removing rear wheels & greasing the axels with every service.
Taryl Fixes All has a good You tube vid on it.
I use the air hammer all the time now and rarely ever reach for the pullers.
Even on flywheels.
3,000 little taps a minute works a lot better than a well placed smack with the No 9 hammer & hope you don't miss.
Bought a stack of pointy ends for the hammer then ground them round to fit various engines.
Works a treat on chain saws & blowers too