Adds the public StatementBuilder API, created by making _StatementBuilder public. Also adds an alternative construction route for Statement, allowing it to be directly constructed from an internal (still private) _Statement, avoiding an unnecessary serde round-trip.
Note: This makes StatementBuilder public, but explicitly doesn't commit it to SemVer just yet; I don't expect it to change very much, but in the event it does I don't want us locked into design decisions for the entire 3.x lifetime 🙂
Adds the public
StatementBuilder
API, created by making_StatementBuilder
public. Also adds an alternative construction route forStatement
, allowing it to be directly constructed from an internal (still private)_Statement
, avoiding an unnecessary serde round-trip.Note: This makes
StatementBuilder
public, but explicitly doesn't commit it to SemVer just yet; I don't expect it to change very much, but in the event it does I don't want us locked into design decisions for the entire 3.x lifetime 🙂Closes #1076.