Trait CreateColumn

Source
pub trait CreateColumn<'post_build>: Sized {
    // Required method
    fn build(self, s: &mut String) -> Result<(), Error>;
}
Expand description

Trait representing the create table builder.

Required Methods§

Source

fn build(self, s: &mut String) -> Result<(), Error>

Builds the column based on the data.

Parameter:

  • s: mutable reference to a String to write the operation to

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<'post_build> CreateColumn<'post_build> for CreateColumnImpl<'_, 'post_build>