AFAIK, you can't affect deriving in any way which is not handled by derive macro itself. In this case, you'll likely want to make your own custom derive (or implement the trait manually).
Well, you certainly can make a PartialEq implementation which will always return true, the Hash implementation which will always return the same constant, etc. Effectively, this will make the implementations of containing struct ignore this field (since the result will be independent of the field's value). Is this what you want?
I first thought that you want the implementation to not even access these fields. But you're right, from the external point of view it would be the same as your real goal.
Derives for most traits work structurally, i.e. they refer to the implementations of the same trait on fields. So, the described way should work.