Skip to main content

Insertable

Trait Insertable 

Source
pub trait Insertable: InsertableSealed { }
Expand description

A table with at least one column a statement may insert into. Emitted by #[derive(Table)] unless every column is generated, which leaves an INSERT with nothing to name: SQL spells that DEFAULT VALUES, and spells it for exactly one row.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§