This function converts the struct into a map, then runs ValidateMap() on it. See ValidateMap's documentation for usage details.
(s interface{}, rules ValidationRules)
source not stored for this graph (policy: none)