jsonstein@masto.deoan.org ("Jeff Sonstein") wrote:
eminently sensible:
"If we use pub before a struct definition, we make the struct public, but the struct’s fields will still be private. We can make each field public or not on a case-by-case basis... if we make an enum public, all of its variants are then public. We only need the pub before the enum keyword"