Hayden Panettiere reflected on her struggles with postpartum depression and substance abuse in tell-all memoir