fix compile error: struct field default now private

fix #1 .
As Rust struct fields are now private by default.