pub trait SchemaVersion {
// Required methods
fn version() -> u32;
fn ddl() -> &'static str;
}Expand description
Trait for schema version management. Implementors define the current schema version and DDL.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".