code: func (t *TransportPort) Equal(o *TransportPort) bool {
  	if t == o {
  		return true
  	}
  
  	if o == nil {
  		return false
  	}
  
  	if t.Proto != o.Proto || t.Port != o.Port {
  		return false
  	}
  
  	return true
  }
docs: // Equal checks if this instance of Transportport is equal to the passed one