proofeading, copyediting, structural or substantive editing, developmental editing … what’s the difference among them all?

proofeading, copyediting, structural or substantive editing, developmental editing … what’s the difference among them all?
Editing and proofreading cookbooks needs a terrier-like nose for inconsistencies, such as ingredient names, measurements and conversions, and how the methods are phrased.
Wouldn’t it be wondering if there was a secret password, or magic code, or mystic gatekeeper who you could invoke, so your work would be picked up by a major publisher?