Follow changes in rust master and fix bug

* fields are now private by default
* get_xxx operations should not fail if field has no default value