pub trait SchemaCustomTypes {
// Provided method
fn schema_types() -> Vec<Option<CustomType>> { ... }
}Expand description
Trait for defining custom types in a schema.
Provided Methods§
Sourcefn schema_types() -> Vec<Option<CustomType>>
fn schema_types() -> Vec<Option<CustomType>>
Returns a vector of optional CustomTypes.
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.