ValidateAll checks the field values on GetTokenPriceReply with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in GetTokenPriceReplyMultiError, or nil if none found.
()
| 153 | // violated, the result is a list of violation errors wrapped in |
| 154 | // GetTokenPriceReplyMultiError, or nil if none found. |
| 155 | func (m *GetTokenPriceReply) ValidateAll() error { |
| 156 | return m.validate(true) |
| 157 | } |
| 158 | |
| 159 | func (m *GetTokenPriceReply) validate(all bool) error { |
| 160 | if m == nil { |