lib.rs: rust now use private field by default, fix compile error