So I'm assuming what you mean is like what Go has for interface? There has been RFCs discussing using a struct's field in Traits, but that was a while ago and I'm not aware of any recent activity.
What do you mean by variables? Like class variables in Ruby? Rust doesn't have those.
is the previous dicussion on this, highlighting the currently many downsides to it.