[rust] Add FlatBufferBuilder::force_defaults API (#5946)
authorMatt Brubeck <mbrubeck@limpet.net>
Mon, 8 Jun 2020 16:47:36 +0000 (09:47 -0700)
committerGitHub <noreply@github.com>
Mon, 8 Jun 2020 16:47:36 +0000 (09:47 -0700)
commit53fb453e047367434627ff4cb7625c10e24fd2e3
treed6d1307d5e3e57bce44332ba8b52031201676a51
parent17c1f35fa0f1b73744453b1718aa4f77fd4b3cc1
[rust] Add FlatBufferBuilder::force_defaults API (#5946)

* [rust] Add force_defaults method FlatBufferBuilder

This works just like the same method already available in other
languages.

* Add binary format test for force_defaults
rust/flatbuffers/src/builder.rs
tests/rust_usage_test/tests/integration_test.rs