rust syntax change: make struct fields public,