Sweet potato pie has a custard filling, which means eggs are needed to bind the ingredients and give the pie structure.