pub trait Version:
Copy
+ Clone
+ Default
+ 'static {
const NUMBER: u32;
}Available on crate feature
std only.Expand description
Type-safe version marker trait.
Each schema version is represented as a zero-sized type implementing this trait. The version number is available at compile time via the associated constant.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".