This will prevent issues with backwards compatibility, as there will always be default values for new features, and developers will have to actively choose to use them instead of getting compilation errors when upgrading the crate.
All the struct member's visibilities should be replaced with 'pub (crate)'
This will prevent issues with backwards compatibility, as there will always be default values for new features, and developers will have to actively choose to use them instead of getting compilation errors when upgrading the crate.
All the struct member's visibilities should be replaced with 'pub (crate)'
You can read more about the Builder pattern here: https://rust-unofficial.github.io/patterns/patterns/creational/builder.html