It is not idiomatic in Rust to have setters and getters. Make the field public instead. If the type only has a `get_foo` method but not a `set_foo` method, suggest naming it `foo` instead.