pub trait AstWriter {
// Required methods
fn serialize(&self, statement: &Select) -> Result<String>;
fn serialize_expression(&self, expression: &Expression) -> Result<String>;
}Expand description
What writes the SQL fromAst() keeps raw: the dialect’s Serializer, or the one a
subclass’s createAstSerializer() returns.
Required Methods§
Sourcefn serialize_expression(&self, expression: &Expression) -> Result<String>
fn serialize_expression(&self, expression: &Expression) -> Result<String>
An expression as SQL.
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".