pub fn validate_operation( manifest: Option<&Manifest>, operation: &Operation, ) -> Result<()>
Validate the operation is valid for the given manifest.