func (a *StructField) Equals(b *StructField) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if a.Name != b.Name {
		return false
	}
	return a.Type.Equals(&b.Type)
}
// Equals returns true iff the two StructFields are equal.
Equals returns true iff the two StructFields are equal.
// Equals returns true iff the two StructFields are equal .
func (a *StructField) Equals(b *StructField) bool {
	if a == nil || b == nil {
		return a == nil && b == nil
	}
	if a.Name != b.Name {
		return false
	}
	return a.Type.Equals(&b.Type)
}
func ( a * StructField ) Equals ( b * StructField ) bool { if a == nil || b == nil { return a == nil && b == nil } if a . Name != b . Name { return false } return a . Type . Equals ( & b . Type ) }
Equals returns true iff the two StructFields are equal.
Equals returns true iff the two StructFields are equal .