pub fn validate(services: &ServiceCollection) -> Result<(), ValidationError>
Validates the specified service collection.
services