Just wanted to point out that dealing with the ' terrible twos' is pretty demanding for anyone, however they regard parenthood, and whether or not they're prone to depression. It's a pretty thankless bit of parenting, living with someone who is often a demanding, unreasonable dictator.
I hear you saying that the whole of parenting is difficult for you.
But this bit in particular is like a long journey on a cold and windswept heath- just keep on keeping on, and nearly all children become more reasonable, more people you can negotiate with, funnier and more rewarding.
You need to try to deal with your depression: therapy, counselling, anti-depressants, self-care, getting out in the fresh air, :whatever works for you. Oddly enough, for me, it's multivitamins. Simple as that. Took years to discover. There will be something that works for you. Try things. Find it. You'll be glad you did.
Depression is like a black puddle. Nothing is any good , or ever has been any good.
Even if that's not true.
So cultivate what'ss lovable, enjoyable, fun about your child. Even if it only feels like 30 seconds every now and then: grab a camera. Write down the fun, precious bit. So when the black puddle says that everything is always black, you can literally remind yourself of times, however brief, when you saw your child and parenthood differently. Refer to these moments, practice them, strengthen them : what you focus your attention on will grow.
You're not alone.
And things can get better.
Practice love for your child, even fleetingly.
And love for yourself.